Export (0) Print
Expand All
Expand Minimize

XmlSeverityType Enumeration

Represents the severity of the validation event.

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

public enum XmlSeverityType
public enum XmlSeverityType
public enum XmlSeverityType

 Member nameDescription
Supported by the .NET Compact FrameworkErrorIndicates a validation error occurred when validating the instance document. This applies to document type definitions (DTDs) and XML Schema definition language (XSD) schemas. The World Wide Web Consortium (W3C) validity constraints are considered errors. If no validation event handler has been created, errors throw an exception. 
Supported by the .NET Compact FrameworkWarningIndicates that a validation event occurred that is not an error. A warning is typically issued when there is no DTD, or XML Schema to validate a particular element or attribute against. Unlike errors, warnings do not throw an exception if there is no validation event handler. 

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft