DurableTaskExtension Class
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.
Configuration for the Durable Functions extension.
[Microsoft.Azure.WebJobs.Description.Extension("DurableTask", "DurableTask")]
public class DurableTaskExtension : DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskActivity>, DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskOrchestration>, IDisposable, Microsoft.Azure.WebJobs.Host.Config.IExtensionConfigProvider, Microsoft.Azure.WebJobs.IAsyncConverter<System.Net.Http.HttpRequestMessage,System.Net.Http.HttpResponseMessage>
[Microsoft.Azure.WebJobs.Description.Extension("DurableTask", "DurableTask")]
public class DurableTaskExtension : DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskActivity>, DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskOrchestration>, Microsoft.Azure.WebJobs.Host.Config.IExtensionConfigProvider, Microsoft.Azure.WebJobs.IAsyncConverter<System.Net.Http.HttpRequestMessage,System.Net.Http.HttpResponseMessage>
[<Microsoft.Azure.WebJobs.Description.Extension("DurableTask", "DurableTask")>]
type DurableTaskExtension = class
interface IExtensionConfigProvider
interface IDisposable
interface IAsyncConverter<HttpRequestMessage, HttpResponseMessage>
interface INameVersionObjectManager<TaskOrchestration>
interface INameVersionObjectManager<TaskActivity>
[<Microsoft.Azure.WebJobs.Description.Extension("DurableTask", "DurableTask")>]
type DurableTaskExtension = class
interface IExtensionConfigProvider
interface IAsyncConverter<HttpRequestMessage, HttpResponseMessage>
interface INameVersionObjectManager<TaskOrchestration>
interface INameVersionObjectManager<TaskActivity>
Public Class DurableTaskExtension
Implements IAsyncConverter(Of HttpRequestMessage, HttpResponseMessage), IDisposable, IExtensionConfigProvider, INameVersionObjectManager(Of TaskActivity), INameVersionObjectManager(Of TaskOrchestration)
Public Class DurableTaskExtension
Implements IAsyncConverter(Of HttpRequestMessage, HttpResponseMessage), IExtensionConfigProvider, INameVersionObjectManager(Of TaskActivity), INameVersionObjectManager(Of TaskOrchestration)
- Inheritance
-
DurableTaskExtension
- Attributes
-
Microsoft.Azure.WebJobs.Description.ExtensionAttribute
- Implements
-
DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskActivity> DurableTask.Core.INameVersionObjectManager<DurableTask.Core.TaskOrchestration> Microsoft.Azure.WebJobs.Host.Config.IExtensionConfigProvider Microsoft.Azure.WebJobs.IAsyncConverter<HttpRequestMessage,HttpResponseMessage> IDisposable
Constructors
Methods
DeleteTaskHubAsync() |
Deletes all data stored in the current task hub. |
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetClient(DurableClientAttribute) |
Gets a IDurableClient using configuration from a DurableClientAttribute instance. |
GetClient(OrchestrationClientAttribute) |
Gets a DurableOrchestrationClient using configuration from a OrchestrationClientAttribute instance. |
Explicit Interface Implementations
IAsyncConverter<HttpRequestMessage,HttpResponseMessage>.ConvertAsync(HttpRequestMessage, CancellationToken) | Microsoft.Azure.WebJobs.IAsyncConverter`2.ConvertAsync(`0,System.Threading.CancellationToken) |
IExtensionConfigProvider.Initialize(ExtensionConfigContext) |
Internal initialization call from the WebJobs host. |
INameVersionObjectManager<TaskActivity>.Add(ObjectCreator<TaskActivity>) |
Called by the durable task framework: Not used. |
INameVersionObjectManager<TaskActivity>.GetObject(String, String) |
Called by the Durable Task Framework: Returns the specified DurableTask.Core.TaskActivity. |
INameVersionObjectManager<TaskOrchestration>.Add(ObjectCreator<TaskOrchestration>) |
Called by the Durable Task Framework: Not used. |
INameVersionObjectManager<TaskOrchestration>.GetObject(String, String) |
Called by the Durable Task Framework: Returns the specified DurableTask.Core.TaskOrchestration. |
Applies to
Azure SDK for .NET