DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddDurableClientFactory(IServiceCollection) |
Adiciona a extensão Da Tarefa Durável ao fornecido IServiceCollection. |
AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>) |
Adiciona a extensão Da Tarefa Durável ao fornecido IServiceCollection. |
AddDurableClientFactory(IServiceCollection)
Adiciona a extensão Da Tarefa Durável ao fornecido 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
Parâmetros
- serviceCollection
- IServiceCollection
O IServiceCollection a ser configurado.
Retornos
Retorna o fornecido IServiceCollection.
Aplica-se a
AddDurableClientFactory(IServiceCollection, Action<DurableClientOptions>)
Adiciona a extensão Da Tarefa Durável ao fornecido 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
Parâmetros
- serviceCollection
- IServiceCollection
O IServiceCollection a ser configurado.
- optionsBuilder
- Action<DurableClientOptions>
Preencha as configurações padrão de DurableClientOptions para criar Clientes Duráveis.
Retornos
Retorna o fornecido IServiceCollection.
Aplica-se a
Azure SDK for .NET