Udostępnij za pośrednictwem


MiddlewareWorkerApplicationBuilderExtensions.UseDefaultWorkerMiddleware Method

Definition

Configures the IFunctionsWorkerApplicationBuilder to use the default set of middleware used by the worker, in the following order:

  1. Microsoft.Azure.Functions.Worker.OutputBindings.OutputBindingsMiddleware
  2. Microsoft.Azure.Functions.Worker.Pipeline.FunctionExecutionMiddleware
public static Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder UseDefaultWorkerMiddleware (this Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder builder);
static member UseDefaultWorkerMiddleware : Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder -> Microsoft.Azure.Functions.Worker.IFunctionsWorkerApplicationBuilder
<Extension()>
Public Function UseDefaultWorkerMiddleware (builder As IFunctionsWorkerApplicationBuilder) As IFunctionsWorkerApplicationBuilder

Parameters

Returns

The same instance of the IFunctionsWorkerApplicationBuilder for chaining.

Applies to