Table of Contents

Class ActivityAlreadyStartedException

Namespace
Temporalio.Exceptions
Assembly
Temporalio.dll

Exception thrown by client when attempting to start a standalone activity that was already started.

public class ActivityAlreadyStartedException : FailureException, ISerializable
Inheritance
ActivityAlreadyStartedException
Implements
Inherited Members

Remarks

WARNING: Standalone activities are experimental.

Constructors

ActivityAlreadyStartedException(string, string, string, string?)

Initializes a new instance of the ActivityAlreadyStartedException class.

public ActivityAlreadyStartedException(string message, string activityId, string activityType, string? runId)

Parameters

message string

Error message.

activityId string

See ActivityId.

activityType string

See ActivityType.

runId string

See RunId.

Properties

ActivityId

Gets the activity ID that was already started.

public string ActivityId { get; }

Property Value

string

ActivityType

Gets the activity type that was attempted to start.

public string ActivityType { get; }

Property Value

string

RunId

Gets the run ID of the already-started activity, if available.

public string? RunId { get; }

Property Value

string