DurableClientFactory Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DurableClientFactory class.
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)
Parameters
- defaultDurableClientOptions
- IOptions<DurableClientOptions>
Default Options to Build Durable Clients.
- durableTaskOptions
- IOptions<DurableTaskOptions>
The configuration options for this extension.
- orchestrationServiceFactory
- IDurabilityProviderFactory
The factory used to create orchestration service based on the configured storage provider.
- loggerFactory
- ILoggerFactory
The logger factory used for extension-specific logging and orchestration tracking.
- messageSerializerSettingsFactory
- IMessageSerializerSettingsFactory
The factory used to create Newtonsoft.Json.JsonSerializerSettings for message settings.
Applies to
Azure SDK for .NET