DataConnectionOpenCanceledException 构造函数 (SerializationInfo, StreamingContext)

用序列化数据初始化 DataConnectionOpenCanceledException 类的新实例。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected DataConnectionOpenCanceledException(
    SerializationInfo info,
    StreamingContext context
)
protected:
DataConnectionOpenCanceledException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> DataConnectionOpenCanceledException
protected function DataConnectionOpenCanceledException(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

  • info
    类型:SerializationInfo

    SerializationInfo,它存有有关所引发的异常的序列化对象数据。

  • context
    类型:StreamingContext

    StreamingContext,它包含有关源或目标的上下文信息。

.NET Framework 安全性

请参阅

参考

DataConnectionOpenCanceledException 类

DataConnectionOpenCanceledException 重载

Microsoft.VisualStudio.Data.Services 命名空间