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 版支援此命名空間、類別或成員。