PDComm.GemFormattedProgramExecutionActionToken
Class
Identifies one action that a formatted process program execution asks the application to perform.
public sealed record GemFormattedProgramExecutionActionTokenGet it with GemFormattedPrograms.GetActionToken and report the outcome of the action with GemFormattedPrograms.SubmitActionResult.
Parameters
| Name | Description |
|---|---|
Kind | The action kind: 1 start, 2 step or 3 cancel. |
EndpointId | The process-local identity of the endpoint that runs the execution. |
SessionGeneration | The connection generation in which the execution started. |
ExecutionGeneration | The execution number of the execution the action belongs to. |
ActionSequence | The sequence number of the action within its execution; the start action is 1. |
Members
GemFormattedProgramExecutionActionToken
Constructor
Identifies one action that a formatted process program execution asks the application to perform.
public GemFormattedProgramExecutionActionToken(uint Kind, ulong EndpointId, ulong SessionGeneration, ulong ExecutionGeneration, ulong ActionSequence)Get it with GemFormattedPrograms.GetActionToken and report the outcome of the action with GemFormattedPrograms.SubmitActionResult.
Parameters
| Name | Description |
|---|---|
Kind | The action kind: 1 start, 2 step or 3 cancel. |
EndpointId | The process-local identity of the endpoint that runs the execution. |
SessionGeneration | The connection generation in which the execution started. |
ExecutionGeneration | The execution number of the execution the action belongs to. |
ActionSequence | The sequence number of the action within its execution; the start action is 1. |
ActionSequence
Property
The sequence number of the action within its execution; the start action is 1.
public ulong ActionSequence { get; init; }EndpointId
Property
The process-local identity of the endpoint that runs the execution.
public ulong EndpointId { get; init; }ExecutionGeneration
Property
The execution number of the execution the action belongs to.
public ulong ExecutionGeneration { get; init; }Kind
Property
The action kind: 1 start, 2 step or 3 cancel.
public uint Kind { get; init; }SessionGeneration
Property
The connection generation in which the execution started.
public ulong SessionGeneration { get; init; }