Table of Contents

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 string

Error message.

workflowId string

See WorkflowId.

runId string

See 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 string

Error message.

workflowId string

See WorkflowId.

workflowType string

See WorkflowType.

runId string

See 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

string

WorkflowId

Gets the workflow ID that was already started.

public string WorkflowId { get; }

Property Value

string

WorkflowType

Gets the workflow type that was attempted to start.

public string WorkflowType { get; }

Property Value

string