Class WorkflowAlreadyStartedException
- Namespace
- Temporalio.Exceptions
- Assembly
- Temporalio.dll
Exception thrown by client when attempting to start a workflow that was already started.
public class WorkflowAlreadyStartedException : FailureException, ISerializable
- Inheritance
-
WorkflowAlreadyStartedException
- Implements
- Inherited Members
Constructors
WorkflowAlreadyStartedException(string, string, string)
Initializes a new instance of the WorkflowAlreadyStartedException class.
[Obsolete("Use other constructor")]
public WorkflowAlreadyStartedException(string message, string workflowId, string runId)
Parameters
message
stringError message.
workflowId
stringSee WorkflowId.
runId
stringSee RunId.
WorkflowAlreadyStartedException(string, string, string, string)
Initializes a new instance of the WorkflowAlreadyStartedException class.
public WorkflowAlreadyStartedException(string message, string workflowId, string workflowType, string runId)
Parameters
message
stringError message.
workflowId
stringSee WorkflowId.
workflowType
stringSee WorkflowType.
runId
stringSee RunId.
Properties
RunId
Gets the run ID that was already started. This may be <unknown>
when this
error is thrown for a child workflow from inside a workflow.
public string RunId { get; }
Property Value
WorkflowId
Gets the workflow ID that was already started.
public string WorkflowId { get; }
Property Value
WorkflowType
Gets the workflow type that was attempted to start.
public string WorkflowType { get; }