Udostępnij przez


StatusCodePagesFeature.Enabled Właściwość

Definicja

Włącza lub wyłącza strony kodu stanu. Wartością domyślną jest true. Ustaw wartość false, aby uniemożliwić StatusCodePagesMiddleware tworzenie treści odpowiedzi podczas obsługi kodu stanu błędu.

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

Wartość właściwości

Implementuje

Dotyczy