DmfException 构造函数 (SerializationInfo, StreamingContext)
Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified serialization information and streaming context.
命名空间: Microsoft.SqlServer.Management.Dmf
程序集: Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)
语法
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
用法
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New DmfException(info, context)
protected DmfException(
SerializationInfo info,
StreamingContext context
)
protected:
DmfException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DmfException
protected function DmfException(
info : SerializationInfo,
context : StreamingContext
)
参数
- info
类型:System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo value that specifies the serialization information that is associated with the exception.
- context
类型:System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext value that specifies the streaming context that is associated with the exception.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。