InstancePersistenceCommandException.GetObjectData 方法

定义

使用有关 SerializationInfo 的信息设置 InstancePersistenceCommandException 对象。

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

关于来源和目标的上下文信息

属性

适用于