Skip to content
Docs Try Aspire
Docs Try

DurableTaskHubResource

Class sealed net8.0
📦 Aspire.Hosting.Azure.Functions v13.4.0
Represents a Durable Task hub resource. A Task Hub groups durable orchestrations and activities. This resource extends the scheduler connection string with the TaskHub name so that clients can connect to the correct hub.
namespace Aspire.Hosting.Azure.DurableTask;
public sealed class DurableTaskHubResource
: Aspire.Hosting.ApplicationModel.Resource,
Aspire.Hosting.ApplicationModel.IExpressionValue,
Aspire.Hosting.ApplicationModel.IManifestExpressionProvider,
Aspire.Hosting.ApplicationModel.IResource,
Aspire.Hosting.ApplicationModel.IResourceWithConnectionString,
Aspire.Hosting.ApplicationModel.IResourceWithParent,
Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.Azure.DurableTask.DurableTaskSchedulerResource>,
Aspire.Hosting.ApplicationModel.IValueProvider,
Aspire.Hosting.ApplicationModel.IValueWithReferences,
Aspire.Hosting.Azure.IResourceWithAzureFunctionsConfig
{
// ...
}
ResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<DurableTaskSchedulerResource>IValueProviderIValueWithReferencesIResourceWithAzureFunctionsConfig