Constructeur RegisteredServerException (SerializationInfo, StreamingContext)
Initializes an instance of the RegisteredServerException class with the specified serialized object data and contextual information.
Espace de noms : Microsoft.SqlServer.Management.RegisteredServers
Assembly : Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntaxe
'Déclaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Utilisation
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
)
Paramètres
- info
Type : System.Runtime.Serialization. . :: . .SerializationInfo
A SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
Type : System.Runtime.Serialization. . :: . .StreamingContext
A StreamingContext object that contains contextual information about the source or destination.