你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MiddlewareWorkerApplicationBuilderExtensions.UseDefaultWorkerMiddleware 方法

定义

IFunctionsWorkerApplicationBuilder 配置为使用辅助角色使用的默认中间件集,顺序如下:

  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

参数

返回

用于链接的相同 IFunctionsWorkerApplicationBuilder 实例。

适用于