ErrorHandlingMiddleware - конструктор
Пространство имён: Tessa.Web.MiddlewareСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
public ErrorHandlingMiddleware(
RequestDelegate next,
IExceptionResponseProvider? exceptionResponseProvider = null,
IOptions<WebOptions>? options = null
)
Public Sub New (
next As RequestDelegate,
Optional exceptionResponseProvider As IExceptionResponseProvider = Nothing,
Optional options As IOptions(Of WebOptions) = Nothing
)
public:
ErrorHandlingMiddleware(
RequestDelegate^ next,
IExceptionResponseProvider^ exceptionResponseProvider = nullptr,
IOptions<WebOptions^>^ options = nullptr
)
new :
next : RequestDelegate *
?exceptionResponseProvider : IExceptionResponseProvider *
?options : IOptions<WebOptions>
(* Defaults:
let _exceptionResponseProvider = defaultArg exceptionResponseProvider null
let _options = defaultArg options null
*)
-> ErrorHandlingMiddleware
Параметры
- next RequestDelegate
-
- exceptionResponseProvider IExceptionResponseProvider (Optional)
-
- options IOptionsWebOptions (Optional)
-