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
messagestringError message.
activityIdstringSee ActivityId.
activityTypestringSee ActivityType.
runIdstringSee RunId.
Properties
ActivityId
Gets the activity ID that was already started.
public string ActivityId { get; }
Property Value
ActivityType
Gets the activity type that was attempted to start.
public string ActivityType { get; }
Property Value
RunId
Gets the run ID of the already-started activity, if available.
public string? RunId { get; }