Class CancelWorkflowInput
- Namespace
- Temporalio.Client.Interceptors
- Assembly
- Temporalio.dll
Input for CancelWorkflowAsync(CancelWorkflowInput).
public record CancelWorkflowInput : IEquatable<CancelWorkflowInput>
- Inheritance
-
CancelWorkflowInput
- Implements
- Inherited Members
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Constructors
CancelWorkflowInput(string, string?, string?, WorkflowCancelOptions?)
Input for CancelWorkflowAsync(CancelWorkflowInput).
public CancelWorkflowInput(string Id, string? RunId, string? FirstExecutionRunId, WorkflowCancelOptions? Options)
Parameters
Id
stringWorkflow ID.
RunId
stringWorkflow run ID if any.
FirstExecutionRunId
stringRun that started the workflow chain to cancel.
Options
WorkflowCancelOptionsOptions passed in to cancel.
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Properties
FirstExecutionRunId
Run that started the workflow chain to cancel.
public string? FirstExecutionRunId { get; init; }
Property Value
Id
Workflow ID.
public string Id { get; init; }
Property Value
Options
Options passed in to cancel.
public WorkflowCancelOptions? Options { get; init; }
Property Value
RunId
Workflow run ID if any.
public string? RunId { get; init; }