1 instantiation of CustomError
System.Web (1)
Configuration\CustomErrorCollection.cs (1)
71
return new
CustomError
();
16 references to CustomError
System.Web (15)
Configuration\CustomError.cs (2)
57
CustomError
o = customError as
CustomError
;
Configuration\CustomErrorCollection.cs (12)
20
[ConfigurationCollection(typeof(
CustomError
), AddItemName = "error",
51
public new
CustomError
this[string statusCode] {
53
return (
CustomError
)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture));
57
public
CustomError
this[int index] {
59
return (
CustomError
)BaseGet(index);
75
return ((
CustomError
)element).StatusCode;
91
public void Add(
CustomError
customError) {
99
public
CustomError
Get(int index) {
100
return (
CustomError
)BaseGet(index);
103
public
CustomError
Get(string statusCode) {
104
return (
CustomError
)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture));
120
public void Set(
CustomError
customError) {
Configuration\CustomErrorsSection.cs (1)
151
CustomError
ce = Errors[(string)code.ToString(CultureInfo.InvariantCulture)];
System.Web.Extensions (1)
UI\PageRequestManager.cs (1)
118
foreach (
CustomError
error in _owner.CustomErrorsSection.Errors) {