90 references to ExceptionAction
System.Configuration.ConfigurationManager (90)
System\Configuration\BaseConfigurationRecord.cs (73)
526
ExceptionAction
.Global);
602
ExceptionAction
.Global);
740
ExceptionAction
.Global);
1405
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.NonSpecific);
1470
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.NonSpecific);
1778
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Global);
1782
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.NonSpecific);
1787
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
1792
xmlUtil.VerifyNoUnrecognizedAttributes(
ExceptionAction
.NonSpecific);
1818
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
1837
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false);
1840
xmlUtil.VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
.Local, out typeName);
1843
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Local);
1850
if (!xmlUtil.VerifyRequiredAttribute(tagName, SectionGroupNameAttribute,
ExceptionAction
.NonSpecific))
1855
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
1867
ExceptionAction
.Local);
1883
ExceptionAction
.Local);
1923
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false);
1926
xmlUtil.VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
.Local, out typeName);
1930
xmlUtil.VerifyAndGetBooleanAttribute(
ExceptionAction
.Local, true, out allowLocation);
1939
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
1949
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
1953
xmlUtil.VerifyAndGetBooleanAttribute(
ExceptionAction
.Local, true, out restartOnExternalChanges);
1956
xmlUtil.VerifyAndGetBooleanAttribute(
ExceptionAction
.Local, true, out requirePermission);
1970
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
1974
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Local);
1982
tagName, SectionNameAttribute,
ExceptionAction
.NonSpecific))
1993
xmlUtil.AddErrorRequiredAttribute(SectionTypeAttribute,
ExceptionAction
.Local);
2005
ExceptionAction
.Local);
2022
ExceptionAction
.Local);
2031
ExceptionAction
.Local);
2070
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.NonSpecific);
2076
name, SectionNameAttribute,
ExceptionAction
.NonSpecific))
2077
VerifySectionName(name, xmlUtil,
ExceptionAction
.NonSpecific, false);
2080
xmlUtil.VerifyNoUnrecognizedAttributes(
ExceptionAction
.NonSpecific);
2084
xmlUtil.AddErrorUnrecognizedElement(
ExceptionAction
.NonSpecific);
2085
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2092
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2097
xmlUtil.AddErrorUnrecognizedElement(
ExceptionAction
.NonSpecific);
2341
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2356
ExceptionAction
.NonSpecific);
2357
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2365
ExceptionAction
.Global);
2366
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2398
ExceptionAction
.Local);
2401
VerifySectionName(tagName, xmlUtil,
ExceptionAction
.Local, false);
2431
if (factoryRecord.HasErrors) xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2440
xmlUtil.AddErrorReservedAttribute(
ExceptionAction
.NonSpecific);
2474
ExceptionAction
.Local);
2489
ExceptionAction
.Local);
2500
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2511
ExceptionAction
.Local);
2528
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2536
ExceptionAction
.Local);
2550
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Local);
2559
ExceptionAction
.Local);
2581
ExceptionAction
.Local);
2584
xmlUtil.StrictSkipToOurParentsEndElement(
ExceptionAction
.NonSpecific);
2585
else xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2613
xmlUtil.SchemaErrors.AddError(ex,
ExceptionAction
.Local);
2627
xmlUtil.VerifyIgnorableNodeType(
ExceptionAction
.NonSpecific);
2628
xmlUtil.StrictReadToNextElement(
ExceptionAction
.NonSpecific);
2641
if (!positionedAtNextElement) xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2724
ExceptionAction
.Global);
2732
ExceptionAction
.Global, true, out value);
2743
xmlUtil),
ExceptionAction
.Global);
2754
ExceptionAction
.Global, true, out inheritInChildApp);
2757
xmlUtil.AddErrorUnrecognizedAttribute(
ExceptionAction
.Global);
2788
xmlUtil.SchemaErrors.AddError(ce,
ExceptionAction
.Global);
2794
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2809
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
2842
xmlUtil.StrictSkipToNextElement(
ExceptionAction
.NonSpecific);
3011
protected static void VerifySectionName(string name, XmlUtil xmlUtil,
ExceptionAction
action, bool allowImplicit)
System\Configuration\ConfigurationSchemaErrors.cs (5)
32
internal void AddError(ConfigurationException ce,
ExceptionAction
action)
36
case
ExceptionAction
.Global:
40
case
ExceptionAction
.NonSpecific:
43
case
ExceptionAction
.Local:
55
AddError(ce,
ExceptionAction
.Global);
System\Configuration\XmlUtil.cs (12)
184
internal void StrictReadToNextElement(
ExceptionAction
action)
199
internal void StrictSkipToNextElement(
ExceptionAction
action)
214
internal void StrictSkipToOurParentsEndElement(
ExceptionAction
action)
231
internal void VerifyIgnorableNodeType(
ExceptionAction
action)
248
internal void VerifyNoUnrecognizedAttributes(
ExceptionAction
action)
257
internal bool VerifyRequiredAttribute(object requiredAttribute, string attrName,
ExceptionAction
action)
270
internal void AddErrorUnrecognizedAttribute(
ExceptionAction
action)
279
internal void AddErrorRequiredAttribute(string attrib,
ExceptionAction
action)
288
internal void AddErrorReservedAttribute(
ExceptionAction
action)
297
internal void AddErrorUnrecognizedElement(
ExceptionAction
action)
306
internal void VerifyAndGetNonEmptyStringAttribute(
ExceptionAction
action, out string newValue)
326
ExceptionAction
action, bool defaultValue, out bool newValue)