Compartilhar via


Método SyncKnowledge.GetObjectData

Serializa os dados do objeto de conhecimento para um objeto SerializationInfo.

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

Sintaxe

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

instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)] 
public virtual void GetObjectData (
    SerializationInfo info,
    StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)] 
public:
virtual void GetObjectData (
    SerializationInfo^ info, 
    StreamingContext context
)
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */ 
public void GetObjectData (
    SerializationInfo info, 
    StreamingContext context
)
public 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 SyncKnowledge
Membros SyncKnowledge
Namespace Microsoft.Synchronization