WebScriptEnablingBehavior.FaultExceptionEnabled Property

Definition

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

public:
 virtual property bool FaultExceptionEnabled { bool get(); void set(bool value); };
public override bool FaultExceptionEnabled { get; set; }
member this.FaultExceptionEnabled : bool with get, set
Public Overrides Property FaultExceptionEnabled As Boolean

Property Value

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

Applies to