Bagikan melalui


ExceptionHandlerOptions.ExceptionHandler Properti

Definisi

RequestDelegate yang akan menangani pengecualian. Jika ini tidak disediakan secara eksplisit, alur middleware berikutnya akan digunakan secara default.

public:
 property Microsoft::AspNetCore::Http::RequestDelegate ^ ExceptionHandler { Microsoft::AspNetCore::Http::RequestDelegate ^ get(); void set(Microsoft::AspNetCore::Http::RequestDelegate ^ value); };
public Microsoft.AspNetCore.Http.RequestDelegate ExceptionHandler { get; set; }
public Microsoft.AspNetCore.Http.RequestDelegate? ExceptionHandler { get; set; }
member this.ExceptionHandler : Microsoft.AspNetCore.Http.RequestDelegate with get, set
Public Property ExceptionHandler As RequestDelegate

Nilai Properti

Berlaku untuk