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