语言

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

FunctionsWorkerHost Class

Definition

Hosting helpers to work with Azure Functions Workers

public static class FunctionsWorkerHost
type FunctionsWorkerHost = class
Public Class FunctionsWorkerHost
Inheritance
FunctionsWorkerHost

Methods

Name Description
RunDefault(Action<IServiceCollection>)

Creates a default Azure Functions Worker configured host, runs and blocks the calling thread until the host shuts down.

RunDefaultAsync(Action<IServiceCollection>)

Creates a default Azure Functions Worker configured host, runs and returns a Task that will complete when the host shuts down.

Applies to