DurableTaskExtension.GetClient 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
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
Azure SDK for .NET