Compartilhar via


Método ChangeUnitChange.GetObjectData

Serializa os dados do objeto para um objeto SerializationInfo.

Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (em microsoft.synchronization.dll)

Sintaxe

'Declaração
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Uso
Dim instance As ChangeUnitChange
Dim info As SerializationInfo
Dim context As StreamingContext

instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)] 
public void GetObjectData (
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)] 
public:
virtual void GetObjectData (
    SerializationInfo^ info, 
    StreamingContext context
) sealed
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */ 
public final void GetObjectData (
    SerializationInfo info, 
    StreamingContext context
)
public final function GetObjectData (
    info : SerializationInfo, 
    context : StreamingContext
)

Parâmetros

  • context
    O objeto StreamingContext que contém informações contextuais sobre a origem ou o destino.

Consulte também

Referência

Classe ChangeUnitChange
Membros ChangeUnitChange
Namespace Microsoft.Synchronization