IFunctionsWorkerApplicationBuilder Interface
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.
Represents a builder for a Functions Worker Application.
public interface IFunctionsWorkerApplicationBuilder
type IFunctionsWorkerApplicationBuilder = interface
Public Interface IFunctionsWorkerApplicationBuilder
Properties
Services |
The collection of services for the current IFunctionsWorkerApplicationBuilder. |
Methods
Use(Func<FunctionExecutionDelegate,FunctionExecutionDelegate>) |
Registers a custom middleware in the worker's invocation pipeline. |
Extension Methods
UseAzureAppConfiguration(IFunctionsWorkerApplicationBuilder) |
Configures a middleware for Azure App Configuration to use activity-based refresh for data configured in the provider. |
UseDefaultWorkerMiddleware(IFunctionsWorkerApplicationBuilder) |
Configures the IFunctionsWorkerApplicationBuilder to use the default set of middleware used by the worker, in the following order:
|
UseFunctionExecutionMiddleware(IFunctionsWorkerApplicationBuilder) |
Configures the IFunctionsWorkerApplicationBuilder to use the default Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionMiddleware. |
UseMiddleware(IFunctionsWorkerApplicationBuilder, Func<FunctionContext,Func<Task>,Task>) |
Configures the IFunctionsWorkerApplicationBuilder to use the provided inline middleware delegate. |
UseMiddleware<T>(IFunctionsWorkerApplicationBuilder) |
Configures the IFunctionsWorkerApplicationBuilder to use the provided middleware type. |
UseOutputBindingsMiddleware(IFunctionsWorkerApplicationBuilder) |
Configures the IFunctionsWorkerApplicationBuilder to use the default Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware. |
UseWhen(IFunctionsWorkerApplicationBuilder, Func<FunctionContext,Boolean>, Func<FunctionContext,Func<Task>,Task>) |
Configures the IFunctionsWorkerApplicationBuilder to use the provided inline middleware delegate when the provided predicate expression returns true. |
UseWhen<T>(IFunctionsWorkerApplicationBuilder, Func<FunctionContext,Boolean>) |
Configures the IFunctionsWorkerApplicationBuilder to use the provided middleware type, when the provided predicate expression returns true. |
Applies to
Azure SDK for .NET