Export (0) Print
Expand All

WebHttpElement.FaultExceptionEnabled Property

.NET Framework 4.6 and 4.5

Gets or sets the flag that specifies whether a FaultException is generated when an internal server error (HTTP status code: 500) occurs.

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

public bool FaultExceptionEnabled { get; set; }

Property Value

Type: System.Boolean
Returns true if the flag is enabled; otherwise returns false.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft