WebHttpEndpointElement.FaultExceptionEnabled Właściwość

Definicja

Pobiera lub ustawia flagę określającą, czy występuje błąd FaultException w przypadku wystąpienia wewnętrznego błędu serwera (kod stanu HTTP: 500).

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

Wartość właściwości

Zwraca wartość true , jeśli flaga jest włączona; w przeciwnym razie zwraca wartość false.

Atrybuty

Dotyczy