Partilhar via


DurableTaskJobHostConfigurationExtensions.AddDurableClientFactory Método

Definição

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)

Origem:
DurableTaskJobHostConfigurationExtensions.cs

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>)

Origem:
DurableTaskJobHostConfigurationExtensions.cs

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