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);
public 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
[<System.Security.SecurityCritical>]
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.

属性

注解

方法属于远程对象。The method belongs to a remote object.

适用于