SqlServerManagementException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the SqlServerManagementException class with the specified serialization information and streaming context.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New SqlServerManagementException(info, context)
protected SqlServerManagementException(
SerializationInfo info,
StreamingContext context
)
protected:
SqlServerManagementException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SqlServerManagementException
protected function SqlServerManagementException(
info : SerializationInfo,
context : StreamingContext
)
Parámetros
- info
Tipo: System.Runtime.Serialization.SerializationInfo
A SerializationInfo system object value that specifies the serialization information associated with the exception.
- context
Tipo: System.Runtime.Serialization.StreamingContext
A StreamingContext system object value that specifies the streaming context associated with the exception.
Vea también
Referencia
SqlServerManagementException Clase