Export (0) Print
Expand All

WebHttpElement.FaultExceptionEnabled Property

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)

[ConfigurationPropertyAttribute("faultExceptionEnabled")]
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
Show:
© 2015 Microsoft