Compartilhar via


DurableClientFactory Construtor

Definição

Inicializa uma nova instância da classe DurableClientFactory.

public DurableClientFactory (Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> defaultDurableClientOptions, Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> durableTaskOptions, Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurabilityProviderFactory orchestrationServiceFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Azure.WebJobs.Extensions.DurableTask.IMessageSerializerSettingsFactory messageSerializerSettingsFactory = default);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.ContextImplementations.DurableClientFactory : Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.Options.DurableClientOptions> * Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> * Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurabilityProviderFactory * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Azure.WebJobs.Extensions.DurableTask.IMessageSerializerSettingsFactory -> Microsoft.Azure.WebJobs.Extensions.DurableTask.ContextImplementations.DurableClientFactory
Public Sub New (defaultDurableClientOptions As IOptions(Of DurableClientOptions), durableTaskOptions As IOptions(Of DurableTaskOptions), orchestrationServiceFactory As IDurabilityProviderFactory, loggerFactory As ILoggerFactory, Optional messageSerializerSettingsFactory As IMessageSerializerSettingsFactory = Nothing)

Parâmetros

defaultDurableClientOptions
IOptions<DurableClientOptions>

Opções padrão para criar clientes duráveis.

durableTaskOptions
IOptions<DurableTaskOptions>

As opções de configuração para essa extensão.

orchestrationServiceFactory
IDurabilityProviderFactory

A fábrica usada para criar o serviço de orquestração com base no provedor de armazenamento configurado.

loggerFactory
ILoggerFactory

A fábrica de agentes usada para registro em log específico da extensão e acompanhamento de orquestração.

messageSerializerSettingsFactory
IMessageSerializerSettingsFactory

A fábrica usada para criar Newtonsoft.Json.JsonSerializerSettings para configurações de mensagem.

Aplica-se a