XmlSchemaValidationException.GetObjectData(SerializationInfo, StreamingContext) 方法

定义

用包含 XmlSchemaValidationException 所有属性的给定的 SerializationInfoStreamingContext 信息构造新的 XmlSchemaValidationException 对象。Constructs a new XmlSchemaValidationException object with the given SerializationInfo and StreamingContext information that contains all the properties of the XmlSchemaValidationException.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
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)

参数

适用于