We recommend using Visual Studio 2017

XmlValidatingEventArgs.ReportError Method

Name Description
XmlValidatingEventArgs.ReportError (XPathNavigator, Boolean, String)
Creates a FormError object that contains custom error information with the specified values and adds it to the FormErrorCollection object of the form.
XmlValidatingEventArgs.ReportError (XPathNavigator, Boolean, String, String)
Creates a FormError object that contains custom error information with the specified values and adds it to the FormErrorCollection object of the form.
XmlValidatingEventArgs.ReportError (XPathNavigator, Boolean, String, String, Int32)
Creates a FormError object that contains custom error information with the specified values and adds it to the FormErrorCollection object of the form.
XmlValidatingEventArgs.ReportError (XPathNavigator, Boolean, String, String, Int32, ErrorMode)
Creates a FormError object that contains custom error information with the specified values and adds it to the FormErrorCollection object of the form.
Show: