DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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)
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>)
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 à
Azure SDK for .NET