IFunctionsWorkerApplicationBuilder.Use Method
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.
Registers a custom middleware in the worker's invocation pipeline.
public Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder Use(Func<Microsoft.Azure.Functions.Worker.Middleware.FunctionExecutionDelegate,Microsoft.Azure.Functions.Worker.Middleware.FunctionExecutionDelegate> middleware);
abstract member Use : Func<Microsoft.Azure.Functions.Worker.Middleware.FunctionExecutionDelegate, Microsoft.Azure.Functions.Worker.Middleware.FunctionExecutionDelegate> -> Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder
Public Function Use (middleware As Func(Of FunctionExecutionDelegate, FunctionExecutionDelegate)) As IFunctionsWorkerApplicationBuilder
Parameters
- middleware
- Func<FunctionExecutionDelegate,FunctionExecutionDelegate>
The middleware to register.
Returns
The same instance of the IFunctionsWorkerApplicationBuilder for chanining.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET