Processes the element and attribute names in the XML schemas and, optionally, validates the XML schemas.
Assembly: System.Xml (in System.Xml.dll)
- Type: System.Xml.Schema.ValidationEventHandler
A ValidationEventHandler that specifies the callback method that handles errors and warnings during XML Schema validation, if the strict parameter is set to true.
The following list identifies situations in which the method is called:
By the Wsdl.exe tool or the ServiceDescriptionImporter class, while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document.
By the Xsd.exe tool while generating XML schemas from types found in assemblies.
Instead of calling the method directly, use the previously mentioned classes or tools.
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.