共用方式為


FullEnumerationChangeBatch.GetObjectData 方法

將此物件資料序列化為 SerializationInfo 物件。

命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)

語法

'宣告
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Sub GetObjectData ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'用途
Dim instance As FullEnumerationChangeBatch
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
)

參數

  • context
    StreamingContext 物件,此物件包含有關來源或目的地的內容資訊。

請參閱

參考

FullEnumerationChangeBatch 類別
FullEnumerationChangeBatch 成員
Microsoft.Synchronization 命名空間