Dela via


ExceptionHandlerOptions.ExceptionHandler Property

Definition

The RequestDelegate that will handle the exception. If this is not explicitly provided, the subsequent middleware pipeline will be used by 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

Property Value

Applies to