Share via


IDurabilityProviderFactory.GetDurabilityProvider Method

Definition

Overloads

GetDurabilityProvider()

Creates or retrieves a durability provider to be used throughout the extension.

GetDurabilityProvider(DurableClientAttribute)

Creates or retrieves a cached durability provider to be used in a given function execution.

GetDurabilityProvider()

Source:
IDurabilityProviderFactory.cs

Creates or retrieves a durability provider to be used throughout the extension.

public Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider GetDurabilityProvider ();
abstract member GetDurabilityProvider : unit -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider
Public Function GetDurabilityProvider () As DurabilityProvider

Returns

An durability provider to be used by the Durable Task Extension.

Applies to

GetDurabilityProvider(DurableClientAttribute)

Source:
IDurabilityProviderFactory.cs

Creates or retrieves a cached durability provider to be used in a given function execution.

public Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider GetDurabilityProvider (Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute attribute);
abstract member GetDurabilityProvider : Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute -> Microsoft.Azure.WebJobs.Extensions.DurableTask.DurabilityProvider
Public Function GetDurabilityProvider (attribute As DurableClientAttribute) As DurabilityProvider

Parameters

attribute
DurableClientAttribute

A durable client attribute with parameters for the durability provider.

Returns

A durability provider to be used by a client function.

Applies to