ResourceReferenceKeyNotFoundException.GetObjectData(SerializationInfo, StreamingContext) ResourceReferenceKeyNotFoundException.GetObjectData(SerializationInfo, StreamingContext) ResourceReferenceKeyNotFoundException.GetObjectData(SerializationInfo, StreamingContext) ResourceReferenceKeyNotFoundException.GetObjectData(SerializationInfo, StreamingContext) Method

定义

向调试器或对话框报告异常的具体信息。Reports specifics of the exception to debuggers or dialogs.

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);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

序列化过程中的特定信息。Specific information from the serialization process.

context
StreamingContext StreamingContext StreamingContext StreamingContext

引发异常时的上下文。The context at the time the exception was thrown.

适用于