WebHttpBehavior::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.Description
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public:
property bool FaultExceptionEnabled {
	virtual bool get();
	virtual void set(bool value);
}

Property Value

Type: System::Boolean

Returns true if the flag is enabled; otherwise returns false.

.NET Framework
Available since 4.0
Silverlight
Available since 4.0
Return to top
Show: