다음을 통해 공유


DurableTaskExtension.GetClient Method

Definition

Overloads

GetClient(DurableClientAttribute)

Gets a IDurableClient using configuration from a DurableClientAttribute instance.

GetClient(OrchestrationClientAttribute)

Gets a DurableOrchestrationClient using configuration from a OrchestrationClientAttribute instance.

GetClient(DurableClientAttribute)

Source:
DurableTaskExtension.cs

Gets a IDurableClient using configuration from a DurableClientAttribute instance.

protected internal virtual Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableClient GetClient (Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute attribute);
abstract member GetClient : Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute -> Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableClient
override this.GetClient : Microsoft.Azure.WebJobs.Extensions.DurableTask.DurableClientAttribute -> Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableClient
Protected Friend Overridable Function GetClient (attribute As DurableClientAttribute) As IDurableClient

Parameters

attribute
DurableClientAttribute

The attribute containing the client configuration parameters.

Returns

Returns a IDurableClient instance. The returned instance may be a cached instance.

Applies to

GetClient(OrchestrationClientAttribute)

Source:
DurableTaskExtension.cs

Gets a DurableOrchestrationClient using configuration from a OrchestrationClientAttribute instance.

protected internal virtual Microsoft.Azure.WebJobs.DurableOrchestrationClient GetClient (Microsoft.Azure.WebJobs.OrchestrationClientAttribute attribute);
abstract member GetClient : Microsoft.Azure.WebJobs.OrchestrationClientAttribute -> Microsoft.Azure.WebJobs.DurableOrchestrationClient
override this.GetClient : Microsoft.Azure.WebJobs.OrchestrationClientAttribute -> Microsoft.Azure.WebJobs.DurableOrchestrationClient
Protected Friend Overridable Function GetClient (attribute As OrchestrationClientAttribute) As DurableOrchestrationClient

Parameters

attribute
OrchestrationClientAttribute

The attribute containing the client configuration parameters.

Returns

Returns a DurableOrchestrationClient instance. The returned instance may be a cached instance.

Applies to