Class TerminateWorkflowInput
- Namespace
- Temporalio.Client.Interceptors
- Assembly
- Temporalio.dll
public record TerminateWorkflowInput : IEquatable<TerminateWorkflowInput>
- Inheritance
-
TerminateWorkflowInput
- Implements
- Inherited Members
Remarks
WARNING: This constructor may have required properties added. Do not rely on the exact constructor, only use "with" clauses.
Constructors
TerminateWorkflowInput(string, string?, string?, string?, WorkflowTerminateOptions?)
public TerminateWorkflowInput(string Id, string? RunId, string? FirstExecutionRunId, string? Reason, WorkflowTerminateOptions? Options)
Parameters
IdstringWorkflow ID.
RunIdstringWorkflow run ID if any.
FirstExecutionRunIdstringRun that started the workflow chain to terminate.
ReasonstringReason for termination.
OptionsWorkflowTerminateOptionsOptions passed in to terminate.
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 terminate.
public string? FirstExecutionRunId { get; init; }
Property Value
Id
Workflow ID.
public string Id { get; init; }
Property Value
Options
Options passed in to terminate.
public WorkflowTerminateOptions? Options { get; init; }
Property Value
Reason
Reason for termination.
public string? Reason { get; init; }
Property Value
RunId
Workflow run ID if any.
public string? RunId { get; init; }