UtilityException 建構函式 (SerializationInfo, StreamingContext)
Initializes a new, default instance of the UtilityException class with serialized data.
命名空間: Microsoft.SqlServer.Management.Utility
組件: Microsoft.SqlServer.Management.Utility (在 Microsoft.SqlServer.Management.Utility.dll 中)
語法
'宣告
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New UtilityException(info, context)
protected UtilityException(
SerializationInfo info,
StreamingContext context
)
protected:
UtilityException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> UtilityException
protected function UtilityException(
info : SerializationInfo,
context : StreamingContext
)
參數
- info
型別:System.Runtime.Serialization. . :: . .SerializationInfo
Holds the serialized object data about the exception being thrown.
- context
型別:System.Runtime.Serialization. . :: . .StreamingContext
Contains contextual information about the source or destination.