ExceptionHandlerOptions.ExceptionHandler Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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