Método DbMetadataSyncException.GetObjectData
Popula um objeto SerializationInfo com informações sobre a exceção.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (em microsoft.synchronization.data.dll)
Sintaxe
'Declaração
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Uso
Dim instance As DbMetadataSyncException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)]
public:
virtual void GetObjectData (
SerializationInfo^ info,
StreamingContext context
) override
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */
public void GetObjectData (
SerializationInfo info,
StreamingContext context
)
public override function GetObjectData (
info : SerializationInfo,
context : StreamingContext
)
Parâmetros
- info
O objeto SerializationInfo a ser populado com dados.
- context
O destino (consulte StreamingContext) desta serialização.
Consulte também
Referência
Classe DbMetadataSyncException
Membros DbMetadataSyncException
Namespace Microsoft.Synchronization.Data