Table of Contents

Class OrchestrationClientAttribute

Namespace
Microsoft.Azure.WebJobs
Assembly
Microsoft.Azure.WebJobs.Extensions.DurableTask.dll

Attribute used to bind a function parameter to a DurableOrchestrationClient instance.

[AttributeUsage(AttributeTargets.Parameter)]
public sealed class OrchestrationClientAttribute : Attribute, IEquatable<OrchestrationClientAttribute>
Inheritance
OrchestrationClientAttribute
Implements
Inherited Members

Constructors

OrchestrationClientAttribute()

public OrchestrationClientAttribute()

Properties

ConnectionName

Optional. Gets or sets the name of the Azure Storage connection string used by this binding.

public string ConnectionName { get; set; }

Property Value

string

The name of a connection string that exists in the app's application settings.

Remarks

The default behavior is to use the value specified in AzureStorageConnectionStringName. If no value exists there, then the default behavior is to use the standard AzureWebJobsStorage connection string for all storage usage.

TaskHub

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

public string TaskHub { get; set; }

Property Value

string

The task hub used by this binding.

Remarks

The default behavior is to use the task hub name specified in HubName. If no value exists there, then a default value will be used.

Methods

Equals(OrchestrationClientAttribute)

Compares two OrchestrationClientAttribute instances for value equality.

public bool Equals(OrchestrationClientAttribute other)

Parameters

other OrchestrationClientAttribute

The OrchestrationClientAttribute object to compare with.

Returns

bool

true if the two attributes have the same configuration; otherwise false.

Equals(object)

Compares two OrchestrationClientAttribute instances for value equality.

public override bool Equals(object obj)

Parameters

obj object

The OrchestrationClientAttribute object to compare with.

Returns

bool

true if the two attributes have the same configuration; otherwise false.

GetHashCode()

Returns a hash code for this attribute.

public override int GetHashCode()

Returns

int

A hash code for this attribute.