WebFaultException.GetObjectData(SerializationInfo, StreamingContext) 方法

定义

GetObjectData(SerializationInfo, StreamingContext) 方法的实现,在将对象序列化为流时可调用此方法。

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

参数

info
SerializationInfo

序列化时向其添加对象数据的序列化信息。

context
StreamingContext

序列化对象的目标。

属性

适用于