MethodResponse.RootSetObjectData(SerializationInfo, StreamingContext) 方法

定义

从序列化设置来设置方法信息。

此 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

用于序列化或反序列化远程对象的数据。

ctx
StreamingContext

特定序列化流的上下文。

属性

注解

方法属于远程对象。

适用于