Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ValidationEventHandler Delegate

Represents the callback method that will handle XML schema validation events and the ValidationEventArgs.

Namespace:  System.Xml.Schema
Assembly:  System.Xml (in System.Xml.dll)

type ValidationEventHandler = 
    delegate of 
        sender:Object * 
        e:ValidationEventArgs -> unit

Parameters

sender
Type: System.Object
The source of the event.
Note    Determine the type of a sender before using it in your code. You cannot assume that the sender is an instance of a particular type. The sender is also not guaranteed to not be null. Always surround your casts with failure handling logic.
e
Type: System.Xml.Schema.ValidationEventArgs
The event data.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2015 Microsoft