Costruttore RegisteredServerException (SerializationInfo, StreamingContext)
Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Sintassi
'Dichiarazione
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Utilizzo
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New RegisteredServerException(info, context)
protected RegisteredServerException(
SerializationInfo info,
StreamingContext context
)
protected:
RegisteredServerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> RegisteredServerException
protected function RegisteredServerException(
info : SerializationInfo,
context : StreamingContext
)
Parametri
- info
Tipo: System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
Tipo: System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext object that contains contextual information about the source or destination.