Método DacServicesException.GetObjectData
Write exception information to the supplied SerializationInfo object.
Namespace: Microsoft.SqlServer.Dac
Assembly: Microsoft.SqlServer.Dac (em Microsoft.SqlServer.Dac.dll)
Sintaxe
'Declaração
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
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
)
Parâmetros
- info
Tipo: System.Runtime.Serialization.SerializationInfo
SerializationInfo that holds the serialized object data.
- context
Tipo: System.Runtime.Serialization.StreamingContext
StreamingContext that contains contextual information about the source or destination.
Implementa
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | info |