Share via


DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Method

Definition

Overloads

AddDurableClientFactory(IServiceCollection)

Adds the Durable Task extension to the provided IServiceCollection.

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Adds the Durable Task extension to the provided IServiceCollection.

AddDurableClientFactory(IServiceCollection)

Source:
DurableTaskJobHostConfigurationExtensions.cs

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

The IServiceCollection to configure.

Returns

Returns the provided IServiceCollection.

Applies to

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Source:
DurableTaskJobHostConfigurationExtensions.cs

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

The IServiceCollection to configure.

optionsBuilder
Action<DurableClientOptions>

Populate default configurations of DurableClientOptions to create Durable Clients.

Returns

Returns the provided IServiceCollection.

Applies to