PDComm.GemFormattedProgramExecutionStart
Class
The result of GemFormattedPrograms.StartExecution: the token of the new execution and its start action.
public sealed record GemFormattedProgramExecutionStart : IDisposableParameters
| Name | Description |
|---|---|
Token | The token that identifies the execution; pass it to GemFormattedPrograms.StepExecution, GemFormattedPrograms.CancelExecution and GemFormattedPrograms.CompleteExecution. |
Action | The start action, which owns native memory. Disposing this object disposes it. |
Members
GemFormattedProgramExecutionStart
Constructor
The result of GemFormattedPrograms.StartExecution: the token of the new execution and its start action.
public GemFormattedProgramExecutionStart(GemFormattedProgramExecutionToken Token, GemFormattedProgramExecutionAction Action)Parameters
| Name | Description |
|---|---|
Token | The token that identifies the execution; pass it to GemFormattedPrograms.StepExecution, GemFormattedPrograms.CancelExecution and GemFormattedPrograms.CompleteExecution. |
Action | The start action, which owns native memory. Disposing this object disposes it. |
Dispose
Method
Releases the native memory of GemFormattedProgramExecutionStart.Action.
public void Dispose()Action
Property
The start action, which owns native memory. Disposing this object disposes it.
public GemFormattedProgramExecutionAction Action { get; init; }Token
Property
The token that identifies the execution; pass it to GemFormattedPrograms.StepExecution, GemFormattedPrograms.CancelExecution and GemFormattedPrograms.CompleteExecution.
public GemFormattedProgramExecutionToken Token { get; init; }