System.Xml.Schema.XmlSchemaValidator.SendValidationEvent C# (CSharp) Méthode

SendValidationEvent() static private méthode

static private SendValidationEvent ( ValidationEventHandler eventHandler, object sender, XmlSchemaValidationException e, XmlSeverityType severity ) : void
eventHandler ValidationEventHandler
sender object
e XmlSchemaValidationException
severity XmlSeverityType
Résultat void
        internal static void SendValidationEvent(ValidationEventHandler eventHandler, object sender, XmlSchemaValidationException e, XmlSeverityType severity)
        {
            if (eventHandler != null)
            {
                eventHandler(sender, new ValidationEventArgs(e, severity));
            }
            else if (severity == XmlSeverityType.Error)
            {
                throw e;
            }
        }
    } //End of class

Same methods

XmlSchemaValidator::SendValidationEvent ( XmlSchemaException e ) : void
XmlSchemaValidator::SendValidationEvent ( XmlSchemaValidationException e ) : void
XmlSchemaValidator::SendValidationEvent ( XmlSchemaValidationException e, XmlSeverityType severity ) : void
XmlSchemaValidator::SendValidationEvent ( string code ) : void
XmlSchemaValidator::SendValidationEvent ( string code, string args ) : void
XmlSchemaValidator::SendValidationEvent ( string code, string args, Exception innerException ) : void
XmlSchemaValidator::SendValidationEvent ( string code, string args, Exception innerException, XmlSeverityType severity ) : void
XmlSchemaValidator::SendValidationEvent ( string code, string msg, XmlSeverityType severity ) : void
XmlSchemaValidator::SendValidationEvent ( string code, string arg1, string arg2 ) : void