ValidationEventArgs 类

定义

返回与 ValidationEventHandler 相关的详细信息。Returns detailed information related to the ValidationEventHandler.

public ref class ValidationEventArgs : EventArgs
public class ValidationEventArgs : EventArgs
type ValidationEventArgs = class
    inherit EventArgs
Public Class ValidationEventArgs
Inherits EventArgs
继承
ValidationEventArgs

示例

有关示例, 请参见Add XmlSchemaCollection类的方法。For an example, see the Add method for the XmlSchemaCollection class.

属性

Exception

获取与该验证事件关联的 XmlSchemaExceptionGets the XmlSchemaException associated with the validation event.

Message

获取与验证事件对应的文本说明。Gets the text description corresponding to the validation event.

Severity

获取验证事件的严重度。Gets the severity of the validation event.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于