Table of Contents

Interface ITemporalWorkerServiceOptionsBuilder

Namespace
Temporalio.Extensions.Hosting
Assembly
Temporalio.Extensions.Hosting.dll

Interface for configuring TemporalWorkerServiceOptions for TemporalWorkerService. Methods for using this are as extensions in this namespace.

public interface ITemporalWorkerServiceOptionsBuilder
Extension Methods

Properties

BuildId

Gets the build ID for this worker service. Exclusive with DeploymentOptions.

[Obsolete("Use DeploymentOptions instead")]
string? BuildId { get; }

Property Value

string

DeploymentOptions

Gets the deployment options for this worker service. Exclusive with BuildId.

WorkerDeploymentOptions? DeploymentOptions { get; }

Property Value

WorkerDeploymentOptions

Services

Gets the service collection being configured.

IServiceCollection Services { get; }

Property Value

IServiceCollection

TaskQueue

Gets the task queue for this worker service.

string TaskQueue { get; }

Property Value

string