IDurabilityProviderFactory.GetDurabilityProvider Method
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.
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()
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)
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
Azure SDK for .NET