Share via


DurableTaskWorker Class

Definition

Base class for durable workers.

public abstract class DurableTaskWorker : Microsoft.Extensions.Hosting.BackgroundService
type DurableTaskWorker = class
    inherit BackgroundService
Public MustInherit Class DurableTaskWorker
Inherits BackgroundService
Inheritance
DurableTaskWorker

Constructors

DurableTaskWorker(String, IDurableTaskFactory)

Initializes a new instance of the DurableTaskWorker class.

Properties

Factory

Gets the IDurableTaskFactory which has been initialized from the configured tasks during host construction.

Name

Gets the name of this worker.

Applies to