แก้ไข

แชร์ผ่าน


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

Property Value

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

Applies to