91 references to ExceptionAction
System.Configuration (91)
System\Configuration\BaseConfigurationRecord.cs (74)
573
ExceptionAction
.Global);
658
ExceptionAction
.Global);
809
ExceptionAction
.Global);
1825
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.NonSpecific);
1896
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.NonSpecific);
2291
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Global);
2297
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.NonSpecific);
2303
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2305
xmlUtil.VerifyNoUnrecognizedAttributes(
ExceptionAction
.NonSpecific);
2331
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2349
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false, false);
2353
xmlUtil.VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
.Local, out typeName);
2357
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Local);
2366
ExceptionAction
.NonSpecific)) {
2373
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2383
ExceptionAction
.Local);
2397
ExceptionAction
.Local);
2440
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false, true);
2444
xmlUtil.VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
.Local, out typeName);
2450
ExceptionAction
.Local, true, out allowLocation);
2458
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2468
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2475
ExceptionAction
.Local, true, out restartOnExternalChanges);
2481
ExceptionAction
.Local, true, out requirePermission);
2497
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2504
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Local);
2512
tagName, KEYWORD_SECTION_NAME,
ExceptionAction
.NonSpecific)) {
2524
xmlUtil.AddErrorRequiredAttribute(KEYWORD_SECTION_TYPE,
ExceptionAction
.Local);
2542
ExceptionAction
.Local);
2552
ExceptionAction
.Local);
2559
ExceptionAction
.Local);
2605
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.NonSpecific);
2614
name, KEYWORD_SECTION_NAME,
ExceptionAction
.NonSpecific)) {
2616
VerifySectionName(name, xmlUtil,
ExceptionAction
.NonSpecific, false, true);
2622
xmlUtil.VerifyNoUnrecognizedAttributes(
ExceptionAction
.NonSpecific);
2627
xmlUtil.AddErrorUnrecognizedElement(
ExceptionAction
.NonSpecific);
2628
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2636
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2640
xmlUtil.AddErrorUnrecognizedElement(
ExceptionAction
.NonSpecific);
2915
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2930
ExceptionAction
.NonSpecific);
2932
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2941
ExceptionAction
.Global);
2943
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2972
ExceptionAction
.Local);
2975
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false);
3007
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3015
xmlUtil.AddErrorReservedAttribute(
ExceptionAction
.NonSpecific);
3049
ExceptionAction
.Local);
3060
ExceptionAction
.Local);
3070
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
3079
ExceptionAction
.Local);
3092
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
3099
ExceptionAction
.Local);
3109
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
3116
ExceptionAction
.Local);
3126
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
3144
ExceptionAction
.Local);
3147
xmlUtil.StrictSkipToOurParentsEndElement(
ExceptionAction
.NonSpecific);
3150
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3173
xmlUtil.SchemaErrors.AddError(ex,
ExceptionAction
.Local);
3186
xmlUtil.VerifyIgnorableNodeType(
ExceptionAction
.NonSpecific);
3187
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
3200
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3282
xmlUtil.SchemaErrors.AddError(new ConfigurationErrorsException(SR.GetString(SR.Invalid_override_mode_declaration), xmlUtil),
ExceptionAction
.Global);
3289
ExceptionAction
.Global, true, out value);
3299
xmlUtil.SchemaErrors.AddError(new ConfigurationErrorsException(SR.GetString(SR.Invalid_override_mode_declaration), xmlUtil),
ExceptionAction
.Global);
3311
ExceptionAction
.Global, true, out inheritInChildApp);
3316
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Global);
3345
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Global);
3350
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3363
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3396
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3563
static protected void VerifySectionName(string name, XmlUtil xmlUtil,
ExceptionAction
action, bool allowImplicit, bool allowConfigNames = false) {
System\Configuration\ConfigurationSchemaErrors.cs (5)
57
internal void AddError(ConfigurationException ce,
ExceptionAction
action) {
59
case
ExceptionAction
.Global:
64
case
ExceptionAction
.NonSpecific:
68
case
ExceptionAction
.Local:
79
AddError(ce,
ExceptionAction
.Global);
System\Configuration\XmlUtil.cs (12)
204
internal void StrictReadToNextElement(
ExceptionAction
action) {
220
internal void StrictSkipToNextElement(
ExceptionAction
action) {
235
internal void StrictSkipToOurParentsEndElement(
ExceptionAction
action) {
252
internal void VerifyIgnorableNodeType(
ExceptionAction
action) {
268
internal void VerifyNoUnrecognizedAttributes(
ExceptionAction
action) {
279
object o, string attrName,
ExceptionAction
action) {
294
internal void AddErrorUnrecognizedAttribute(
ExceptionAction
action) {
302
internal void AddErrorRequiredAttribute(string attrib,
ExceptionAction
action) {
310
internal void AddErrorReservedAttribute(
ExceptionAction
action) {
318
internal void AddErrorUnrecognizedElement(
ExceptionAction
action) {
326
internal void VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
action, out string newValue) {
347
ExceptionAction
action, bool defaultValue, out bool newValue) {