BlogML.BlogMLResource.ValidationEvent C# (CSharp) Method

ValidationEvent() private static method

private static ValidationEvent ( Object sender, ValidationEventArgs e ) : void
sender Object
e System.Xml.Schema.ValidationEventArgs
return void
        private static void ValidationEvent(Object sender, ValidationEventArgs e)
        {
            string message = string.Format("Validation {0}: {1}", e.Severity, e.Message);
            throw new InvalidOperationException(message);
        }