DurableTaskJobHostConfigurationExtensions.AddDurableTask Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
Returns the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.
Applies to
AddDurableTask(IWebJobsBuilder, IOptions<DurableTaskOptions>)
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
Returns the provided Microsoft.Azure.WebJobs.IWebJobsBuilder.
Applies to
AddDurableTask(IWebJobsBuilder, Action<DurableTaskOptions>)
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
Returns the modified builder
object.
Applies to
Azure SDK for .NET