Editar

Compartir a través de


WebHttpEndpointElement.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:
 property bool FaultExceptionEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("faultExceptionEnabled", DefaultValue=false)]
public bool FaultExceptionEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("faultExceptionEnabled", DefaultValue=false)>]
member this.FaultExceptionEnabled : bool with get, set
Public Property FaultExceptionEnabled As Boolean

Property Value

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

Attributes

Applies to