ChangeBatch.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 ChangeBatch
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
)
參數
- info
要接收變更批次資料的物件。
- context
序列化內容。
請參閱
參考
ChangeBatch 類別
ChangeBatch 成員
Microsoft.Synchronization 命名空間