Partilhar via


DurableTaskJobHostConfigurationExtensions.AddDurableTask Método

Definição

Sobrecargas

AddDurableTask(IWebJobsBuilder)

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder, IOptions<DurableTaskOptions>)

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder, Action<DurableTaskOptions>)

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder)

Origem:
DurableTaskJobHostConfigurationExtensions.cs
Origem:
DurableTaskJobHostConfigurationExtensions.cs

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

public static Microsoft.Azure.WebJobs.IWebJobsBuilder AddDurableTask (this Microsoft.Azure.WebJobs.IWebJobsBuilder builder);
static member AddDurableTask : Microsoft.Azure.WebJobs.IWebJobsBuilder -> Microsoft.Azure.WebJobs.IWebJobsBuilder
<Extension()>
Public Function AddDurableTask (builder As IWebJobsBuilder) As IWebJobsBuilder

Parâmetros

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

O Microsoft.Azure.WebJobs.IWebJobsBuilder a ser configurado.

Retornos

Microsoft.Azure.WebJobs.IWebJobsBuilder

Retorna o fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

Aplica-se a

AddDurableTask(IWebJobsBuilder, IOptions<DurableTaskOptions>)

Origem:
DurableTaskJobHostConfigurationExtensions.cs
Origem:
DurableTaskJobHostConfigurationExtensions.cs

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

public static Microsoft.Azure.WebJobs.IWebJobsBuilder AddDurableTask (this Microsoft.Azure.WebJobs.IWebJobsBuilder builder, Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> options);
static member AddDurableTask : Microsoft.Azure.WebJobs.IWebJobsBuilder * Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> -> Microsoft.Azure.WebJobs.IWebJobsBuilder
<Extension()>
Public Function AddDurableTask (builder As IWebJobsBuilder, options As IOptions(Of DurableTaskOptions)) As IWebJobsBuilder

Parâmetros

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

O Microsoft.Azure.WebJobs.IWebJobsBuilder a ser configurado.

options
IOptions<DurableTaskOptions>

As opções de configuração para essa extensão.

Retornos

Microsoft.Azure.WebJobs.IWebJobsBuilder

Retorna o fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

Aplica-se a

AddDurableTask(IWebJobsBuilder, Action<DurableTaskOptions>)

Origem:
DurableTaskJobHostConfigurationExtensions.cs
Origem:
DurableTaskJobHostConfigurationExtensions.cs

Adiciona a extensão Da Tarefa Durável ao fornecido Microsoft.Azure.WebJobs.IWebJobsBuilder.

public static Microsoft.Azure.WebJobs.IWebJobsBuilder AddDurableTask (this Microsoft.Azure.WebJobs.IWebJobsBuilder builder, Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> configure);
static member AddDurableTask : Microsoft.Azure.WebJobs.IWebJobsBuilder * Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> -> Microsoft.Azure.WebJobs.IWebJobsBuilder
<Extension()>
Public Function AddDurableTask (builder As IWebJobsBuilder, configure As Action(Of DurableTaskOptions)) As IWebJobsBuilder

Parâmetros

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

O Microsoft.Azure.WebJobs.IWebJobsBuilder a ser configurado.

configure
Action<DurableTaskOptions>

Um Action<T> para configurar o DurableTaskOptions fornecido.

Retornos

Microsoft.Azure.WebJobs.IWebJobsBuilder

Retorna o objeto modificado builder .

Aplica-se a