MethodResponse.GetObjectData(SerializationInfo, StreamingContext) 方法

定义

GetObjectData(SerializationInfo, StreamingContext) 方法未实现。The GetObjectData(SerializationInfo, StreamingContext) method is not implemented.

此 API 支持产品基础结构,不能在代码中直接使用。

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

参数

info
SerializationInfo

用于序列化或反序列化远程对象的数据。Data for serializing or deserializing the remote object.

context
StreamingContext

特定序列化流的上下文。Context of a certain serialized stream.

实现

属性

注解

GetObjectData方法引发 NotSupportedExceptionThe GetObjectData method throws a NotSupportedException.

适用于