SfcException 构造函数 (SerializationInfo, StreamingContext)
Initializes a new instance of the SfcException class with the specified serialization information and streaming context. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SfcException(info, context)
protected SfcException(
SerializationInfo info,
StreamingContext context
)
protected:
SfcException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SfcException
protected function SfcException(
info : SerializationInfo,
context : StreamingContext
)
参数
- info
类型:System.Runtime.Serialization. . :: . .SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
类型:System.Runtime.Serialization. . :: . .StreamingContext
The StreamingContext object that contains contextual information about the source or destination.