SqlTraceFailToInstantiateTypeException 建構 (SerializationInfo, StreamingContext)
Initializes a new instance of the SQLTraceFailToInstantiateTypeException class with the specified serialization information and the specified streaming context.
命名空間: Microsoft.SqlServer.Management.Trace
組件: Microsoft.SqlServer.ConnectionInfoExtended (在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)
語法
'宣告
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SqlTraceFailToInstantiateTypeException(info, context)
protected SqlTraceFailToInstantiateTypeException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlTraceFailToInstantiateTypeException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlTraceFailToInstantiateTypeException
protected function SqlTraceFailToInstantiateTypeException(
info : SerializationInfo,
context : StreamingContext
)
參數
- info
型別:System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo object value that specifies the serialization information for the SQL Trace Fail to Instantiate Type exception.
- context
型別:System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext object value that specifies the streaming context for the SQL Trace Fail to Instantiate Type exception.