System.Xml.Schema.BaseProcessor.SendValidationEventNoThrow C# (CSharp) Méthode

SendValidationEventNoThrow() protected méthode

protected SendValidationEventNoThrow ( XmlSchemaException e, XmlSeverityType severity ) : void
e XmlSchemaException
severity XmlSeverityType
Résultat void
        protected void SendValidationEventNoThrow(XmlSchemaException e, XmlSeverityType severity) {
            if (severity == XmlSeverityType.Error) {
                errorCount ++;
            }
            if (eventHandler != null) {
                eventHandler(null, new ValidationEventArgs(e, severity));
            }
        }
    };