Editare

Partajați prin


WebHttpEndpoint.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); };
public bool FaultExceptionEnabled { get; set; }
member this.FaultExceptionEnabled : bool with get, set
Public Property FaultExceptionEnabled As Boolean

Property Value

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

Applies to