Udostępnij za pośrednictwem


FunctionsWorkerHost Class

Definition

Hosting helpers to work with Azure Functions Workers

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

Methods

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