System.Configuration.ErrorsHelper.ThrowOnErrors C# (CSharp) Method

ThrowOnErrors() static private method

static private ThrowOnErrors ( List errors ) : void
errors List
return void
        static internal void ThrowOnErrors(List<ConfigurationException> errors) {
            ConfigurationErrorsException e = GetErrorsException(errors);
            if (e != null) {
                throw e;
            }
        }
    }

Usage Example

 internal void ThrowOnErrors()
 {
     ErrorsHelper.ThrowOnErrors(this._errors);
 }