Método DacModelException.GetObjectData
Writes an exception information to the supplied SerializationInfo object.
Namespace: Microsoft.SqlServer.Dac.Model
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
Dim instance As DacModelException
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
The SerializationInfo that holds the serialized object data.
- context
Tipo: System.Runtime.Serialization.StreamingContext
The 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 | If info is a null reference. |