Construtor SqlTraceException (SerializationInfo, StreamingContext)
Initializes a new instance of the SQLTraceException class with the specified serialization information and the specified streaming context.
Namespace: Microsoft.SqlServer.Management.Trace
Assembly: Microsoft.SqlServer.ConnectionInfoExtended (em Microsoft.SqlServer.ConnectionInfoExtended.dll)
Sintaxe
'Declaração
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SqlTraceException(info, context)
protected SqlTraceException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlTraceException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlTraceException
protected function SqlTraceException(
info : SerializationInfo,
context : StreamingContext
)
Parâmetros
- info
Tipo: System.Runtime.Serialization.SerializationInfo
A SerializationInfo object value that specifies the serialization information for the SQL Trace exception.
- context
Tipo: System.Runtime.Serialization.StreamingContext
A StreamingContext object value that specifies the streaming context for the SQL Trace exception.
Exemplos
Consulte também
Referência
Sobrecarregado SqlTraceException
Namespace Microsoft.SqlServer.Management.Trace