Share via


DurableTaskJobHostConfigurationExtensions.AddDurableTask Method

Definition

Overloads

AddDurableTask(IWebJobsBuilder)

Adds the Durable Task extension to the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder, IOptions<DurableTaskOptions>)

Adds the Durable Task extension to the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder, Action<DurableTaskOptions>)

Adds the Durable Task extension to the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.

AddDurableTask(IWebJobsBuilder)

Source:
DurableTaskJobHostConfigurationExtensions.cs
Source:
DurableTaskJobHostConfigurationExtensions.cs

Adds the Durable Task extension to the provided 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

Parameters

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

The Microsoft.Azure.WebJobs.IWebJobsBuilder to configure.

Returns

Microsoft.Azure.WebJobs.IWebJobsBuilder

Returns the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.

Applies to

AddDurableTask(IWebJobsBuilder, IOptions<DurableTaskOptions>)

Source:
DurableTaskJobHostConfigurationExtensions.cs
Source:
DurableTaskJobHostConfigurationExtensions.cs

Adds the Durable Task extension to the provided 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

Parameters

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

The Microsoft.Azure.WebJobs.IWebJobsBuilder to configure.

options
IOptions<DurableTaskOptions>

The configuration options for this extension.

Returns

Microsoft.Azure.WebJobs.IWebJobsBuilder

Returns the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.

Applies to

AddDurableTask(IWebJobsBuilder, Action<DurableTaskOptions>)

Source:
DurableTaskJobHostConfigurationExtensions.cs
Source:
DurableTaskJobHostConfigurationExtensions.cs

Adds the Durable Task extension to the provided 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

Parameters

builder
Microsoft.Azure.WebJobs.IWebJobsBuilder

The Microsoft.Azure.WebJobs.IWebJobsBuilder to configure.

configure
Action<DurableTaskOptions>

An Action<T> to configure the provided DurableTaskOptions.

Returns

Microsoft.Azure.WebJobs.IWebJobsBuilder

Returns the modified builder object.

Applies to