HttpResponse.TrySkipIisCustomErrors Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 2.0
Return to top
Show: