Share via


DurabilityProvider Constructor

Definition

Creates the default DurabilityProvider.

public DurabilityProvider (string storageProviderName, DurableTask.Core.IOrchestrationService service, DurableTask.Core.IOrchestrationServiceClient serviceClient, string connectionName);
new Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider : string * DurableTask.Core.IOrchestrationService * DurableTask.Core.IOrchestrationServiceClient * string -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider
Public Sub New (storageProviderName As String, service As IOrchestrationService, serviceClient As IOrchestrationServiceClient, connectionName As String)

Parameters

storageProviderName
String

The name of the storage backend providing the durability.

service
DurableTask.Core.IOrchestrationService

The internal DurableTask.Core.IOrchestrationService that provides functionality for this classes implementions of DurableTask.Core.IOrchestrationService.

serviceClient
DurableTask.Core.IOrchestrationServiceClient

The internal DurableTask.Core.IOrchestrationServiceClient that provides functionality for this classes implementions of DurableTask.Core.IOrchestrationServiceClient.

connectionName
String

The name of the app setting that stores connection details for the storage provider.

Applies to