Constructeur SfcException (SerializationInfo, StreamingContext)
Initializes a new instance of the SfcException class with the specified serialization information and streaming context. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.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 SfcException(info, context)
protected SfcException(
SerializationInfo info,
StreamingContext context
)
protected:
SfcException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SfcException
protected function SfcException(
info : SerializationInfo,
context : StreamingContext
)
Paramètres
- info
Type : System.Runtime.Serialization.SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception being thrown.
- context
Type : System.Runtime.Serialization.StreamingContext
The StreamingContext object that contains contextual information about the source or destination.