Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TrySkipIisCustomErrors Property

HttpResponse.TrySkipIisCustomErrors Property

Gets or sets a value that specifies whether IIS 7.0 custom errors are disabled.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public bool TrySkipIisCustomErrors { get; set; }

Property Value

Type: System.Boolean
true to disable IIS custom errors; otherwise, false.

The TrySkipIisCustomErrors property is used only when your application is hosted in IIS 7.0. When running in Classic mode in IIS 7.0 the TrySkipIisCustomErrors property default value is true. When running in Integrated mode, the TrySkipIisCustomErrors property default value is false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1, 2.0 SP1
Show:
© 2015 Microsoft