Compartilhar via


MiddlewareWorkerApplicationBuilderExtensions.UseDefaultWorkerMiddleware Método

Definição

Configura o IFunctionsWorkerApplicationBuilder para usar o conjunto padrão de middleware usado pelo trabalhador, na seguinte ordem:

  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

Parâmetros

Retornos

A mesma instância do IFunctionsWorkerApplicationBuilder para encadeamento.

Aplica-se a