Share via


DurableClientAttribute Class

Definition

Attribute used to bind a function parameter to a IDurableClient, IDurableEntityClient, or IDurableOrchestrationClient instance.

[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class DurableClientAttribute : Attribute, IEquatable<Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute>
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type DurableClientAttribute = class
    inherit Attribute
    interface IEquatable<DurableClientAttribute>
Public Class DurableClientAttribute
Inherits Attribute
Implements IEquatable(Of DurableClientAttribute)
Inheritance
DurableClientAttribute
Derived
Attributes
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute
Implements

Constructors

DurableClientAttribute()

Initializes a new instance of the DurableClientAttribute class.

DurableClientAttribute(DurableClientOptions)

Initializes a new instance of the DurableClientAttribute class.

Properties

ConnectionName

Optional. Gets or sets the setting name for the app setting containing connection details used by this binding to connect to instances of the storage provider other than the default one this application communicates with.

ExternalClient

Indicate if the client is External from the azure function where orchestrator functions are hosted.

TaskHub

Optional. Gets or sets the name of the task hub in which the orchestration data lives.

Methods

Equals(DurableClientAttribute)

Compares two DurableClientAttribute instances for value equality.

Equals(Object)

Compares two DurableClientAttribute instances for value equality.

GetHashCode()

Returns a hash code for this attribute.

Applies to