Méthode DacServicesException.GetObjectData
Write exception information to the supplied SerializationInfo object.
Espace de noms : Microsoft.SqlServer.Dac
Assembly : Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)
Syntaxe
'Déclaration
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Utilisation
Dim instance As DacServicesException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
public:
virtual void GetObjectData(
SerializationInfo^ info,
StreamingContext context
) override
abstract GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
override GetObjectData :
info:SerializationInfo *
context:StreamingContext -> unit
public override function GetObjectData(
info : SerializationInfo,
context : StreamingContext
)
Paramètres
- info
Type : System.Runtime.Serialization.SerializationInfo
SerializationInfo that holds the serialized object data.
- context
Type : System.Runtime.Serialization.StreamingContext
StreamingContext that contains contextual information about the source or destination.
Implémente
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | info |