MethodResponse.RootSetObjectData(SerializationInfo, StreamingContext) 方法

定義

設定序列化設定中的方法資訊。Sets method information from serialization settings.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void RootSetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext ctx);
[System.Security.SecurityCritical]
public void RootSetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx);
abstract member RootSetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.RootSetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Sub RootSetObjectData (info As SerializationInfo, ctx As StreamingContext)

參數

info
SerializationInfo

用於序列化或還原序列化遠端物件的資料。The data for serializing or deserializing the remote object.

ctx
StreamingContext

某個序列化資料流的內容。The context of a certain serialized stream.

實作

System.Runtime.Remoting.Messaging.ISerializationRootObject.RootSetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
屬性

備註

方法屬於遠端物件。The method belongs to a remote object.

適用於