ExceptionHandlerOptions.ExceptionHandler 属性

定义

RequestDelegate 处理异常的 。 如果未显式提供此项,则默认使用后续中间件管道。

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

属性值

适用于