Skip to content
Start free evaluation

PDComm.GemFormattedProgramExecutionStart

Class

The result of GemFormattedPrograms.StartExecution: the token of the new execution and its start action.

public sealed record GemFormattedProgramExecutionStart : IDisposable

Parameters

NameDescription
TokenThe token that identifies the execution; pass it to GemFormattedPrograms.StepExecution, GemFormattedPrograms.CancelExecution and GemFormattedPrograms.CompleteExecution.
ActionThe 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

NameDescription
TokenThe token that identifies the execution; pass it to GemFormattedPrograms.StepExecution, GemFormattedPrograms.CancelExecution and GemFormattedPrograms.CompleteExecution.
ActionThe 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; }