NotifyingChangeApplier.GetObjectData 方法
將這個變更套用者序列化為指定的 SerializationInfo 物件。
命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)
語法
'宣告
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overridable Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'用途
Dim instance As NotifyingChangeApplier
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
)
參數
- info
接收序列化物件資料的 SerializationInfo 物件。
- context
StreamingContext 物件,此物件包含有關來源或目的地的內容資訊。
請參閱
參考
NotifyingChangeApplier 類別
NotifyingChangeApplier 成員
Microsoft.Synchronization 命名空間