Partilhar via


DurableTaskExtension Construtores

Definição

Sobrecargas

DurableTaskExtension(IOptions<DurableTaskOptions>, ILoggerFactory, INameResolver, IConnectionStringResolver)

Inicializa uma nova instância do DurableTaskExtension.

DurableTaskExtension(IOptions<DurableTaskOptions>, ILoggerFactory, INameResolver, IEnumerable<IDurabilityProviderFactory>, IApplicationLifetimeWrapper, IDurableHttpMessageHandlerFactory, ILifeCycleNotificationHelper, IMessageSerializerSettingsFactory, IPlatformInformation, IErrorSerializerSettingsFactory, IWebHookProvider, ITelemetryActivator)

Inicializa uma nova instância do DurableTaskExtension.

DurableTaskExtension(IOptions<DurableTaskOptions>, ILoggerFactory, INameResolver, IConnectionStringResolver)

Origem:
DurableTaskExtension.cs

Inicializa uma nova instância do DurableTaskExtension.

public DurableTaskExtension (Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Azure.WebJobs.INameResolver nameResolver, Microsoft.Azure.WebJobs.Extensions.DurableTask.IConnectionStringResolver connectionStringResolver);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension : Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Azure.WebJobs.INameResolver * Microsoft.Azure.WebJobs.Extensions.DurableTask.IConnectionStringResolver -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension
Public Sub New (options As IOptions(Of DurableTaskOptions), loggerFactory As ILoggerFactory, nameResolver As INameResolver, connectionStringResolver As IConnectionStringResolver)

Parâmetros

options
IOptions<DurableTaskOptions>

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

loggerFactory
ILoggerFactory

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

nameResolver
Microsoft.Azure.WebJobs.INameResolver

O resolvedor de nomes a ser usado para pesquisar as configurações do aplicativo.

connectionStringResolver
IConnectionStringResolver

O resolvedor a ser usado para procurar cadeias de conexão.

Aplica-se a

DurableTaskExtension(IOptions<DurableTaskOptions>, ILoggerFactory, INameResolver, IEnumerable<IDurabilityProviderFactory>, IApplicationLifetimeWrapper, IDurableHttpMessageHandlerFactory, ILifeCycleNotificationHelper, IMessageSerializerSettingsFactory, IPlatformInformation, IErrorSerializerSettingsFactory, IWebHookProvider, ITelemetryActivator)

Origem:
DurableTaskExtension.cs

Inicializa uma nova instância do DurableTaskExtension.

public DurableTaskExtension (Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Azure.WebJobs.INameResolver nameResolver, System.Collections.Generic.IEnumerable<Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurabilityProviderFactory> orchestrationServiceFactories, Microsoft.Azure.WebJobs.Extensions.DurableTask.IApplicationLifetimeWrapper hostLifetimeService, Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableHttpMessageHandlerFactory durableHttpMessageHandlerFactory = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.ILifeCycleNotificationHelper lifeCycleNotificationHelper = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.IMessageSerializerSettingsFactory messageSerializerSettingsFactory = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.IPlatformInformation platformInformationService = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.IErrorSerializerSettingsFactory errorSerializerSettingsFactory = default, Microsoft.Azure.WebJobs.Host.Config.IWebHookProvider webhookProvider = default, Microsoft.Azure.WebJobs.Extensions.DurableTask.Correlation.ITelemetryActivator telemetryActivator = default);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension : Microsoft.Extensions.Options.IOptions<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Azure.WebJobs.INameResolver * seq<Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurabilityProviderFactory> * Microsoft.Azure.WebJobs.Extensions.DurableTask.IApplicationLifetimeWrapper * Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableHttpMessageHandlerFactory * Microsoft.Azure.WebJobs.Extensions.DurableTask.ILifeCycleNotificationHelper * Microsoft.Azure.WebJobs.Extensions.DurableTask.IMessageSerializerSettingsFactory * Microsoft.Azure.WebJobs.Extensions.DurableTask.IPlatformInformation * Microsoft.Azure.WebJobs.Extensions.DurableTask.IErrorSerializerSettingsFactory * Microsoft.Azure.WebJobs.Host.Config.IWebHookProvider * Microsoft.Azure.WebJobs.Extensions.DurableTask.Correlation.ITelemetryActivator -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableTaskExtension
Public Sub New (options As IOptions(Of DurableTaskOptions), loggerFactory As ILoggerFactory, nameResolver As INameResolver, orchestrationServiceFactories As IEnumerable(Of IDurabilityProviderFactory), hostLifetimeService As IApplicationLifetimeWrapper, Optional durableHttpMessageHandlerFactory As IDurableHttpMessageHandlerFactory = Nothing, Optional lifeCycleNotificationHelper As ILifeCycleNotificationHelper = Nothing, Optional messageSerializerSettingsFactory As IMessageSerializerSettingsFactory = Nothing, Optional platformInformationService As IPlatformInformation = Nothing, Optional errorSerializerSettingsFactory As IErrorSerializerSettingsFactory = Nothing, Optional webhookProvider As IWebHookProvider = Nothing, Optional telemetryActivator As ITelemetryActivator = Nothing)

Parâmetros

options
IOptions<DurableTaskOptions>

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

loggerFactory
ILoggerFactory

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

nameResolver
Microsoft.Azure.WebJobs.INameResolver

O resolvedor de nomes a ser usado para pesquisar as configurações do aplicativo.

orchestrationServiceFactories
IEnumerable<IDurabilityProviderFactory>

As fábricas usadas para criar o serviço de orquestração com base no provedor de armazenamento configurado.

hostLifetimeService
IApplicationLifetimeWrapper

O serviço de notificação de desligamento do host para detectar e reagir a desligamentos de host.

durableHttpMessageHandlerFactory
IDurableHttpMessageHandlerFactory

O manipulador de mensagens HTTP que manipula solicitações HTTP e respostas HTTP.

lifeCycleNotificationHelper
ILifeCycleNotificationHelper

O auxiliar de notificação do ciclo de vida usado para acompanhamento de orquestração personalizado.

messageSerializerSettingsFactory
IMessageSerializerSettingsFactory

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

platformInformationService
IPlatformInformation

O provedor de informações da plataforma para inspecionar o sistema operacional, o plano do serviço de aplicativo e outras informações de ambiente.

errorSerializerSettingsFactory
IErrorSerializerSettingsFactory

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

webhookProvider
Microsoft.Azure.WebJobs.Host.Config.IWebHookProvider

Fornece URLs de webhook para APIs de gerenciamento HTTP.

telemetryActivator
ITelemetryActivator

O ativador do DistributedTracing. Somente .netstandard2.0.

Aplica-se a