DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Method

Definition

Overloads

AddDurableClientFactory(IServiceCollection)

Adds the Durable Task extension to the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Adds the Durable Task extension to the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

AddDurableClientFactory(IServiceCollection)

Adds the Durable Task extension to the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDurableClientFactory (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
static member AddDurableClientFactory : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDurableClientFactory (serviceCollection As IServiceCollection) As IServiceCollection

Parameters

serviceCollection
Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to configure.

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection

Returns the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

Applies to

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Adds the Durable Task extension to the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDurableClientFactory (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> optionsBuilder);
static member AddDurableClientFactory : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDurableClientFactory (serviceCollection As IServiceCollection, optionsBuilder As Action(Of DurableClientOptions)) As IServiceCollection

Parameters

serviceCollection
Microsoft.Extensions.DependencyInjection.IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to configure.

optionsBuilder
System.Action<DurableClientOptions>

Populate default configurations of DurableClientOptions to create Durable Clients.

Returns

Microsoft.Extensions.DependencyInjection.IServiceCollection

Returns the provided Microsoft.Extensions.DependencyInjection.IServiceCollection.

Applies to