XmlSeverityType Enumeration
Collapse the table of content
Expand the table of content

XmlSeverityType Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Represents the severity of the validation event.

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

public enum XmlSeverityType

Member nameDescription
ErrorIndicates that 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.
WarningIndicates 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 Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft