Partager via


DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Méthode

Définition

Surcharges

AddDurableClientFactory(IServiceCollection)

Ajoute l’extension Tâche durable au fourni IServiceCollection.

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Ajoute l’extension Tâche durable au fourni IServiceCollection.

AddDurableClientFactory(IServiceCollection)

Source:
DurableTaskJobHostConfigurationExtensions.cs

Ajoute l’extension Tâche durable au fourni 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

Paramètres

serviceCollection
IServiceCollection

IServiceCollection à configurer.

Retours

Retourne le fourni IServiceCollection.

S’applique à

AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)

Source:
DurableTaskJobHostConfigurationExtensions.cs

Ajoute l’extension Tâche durable au fourni 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

Paramètres

serviceCollection
IServiceCollection

IServiceCollection à configurer.

optionsBuilder
Action<DurableClientOptions>

Remplissez les configurations par défaut de pour créer des DurableClientOptions clients durables.

Retours

Retourne le fourni IServiceCollection.

S’applique à