Table of Contents

Struct TransactMarker

Namespace
DynaSharp
Assembly
DynaSharp.dll

Names one action of a transaction, to find out what became of it when the transaction is cancelled: ReasonFor(TransactMarker) and ItemFor(TransactMarker). The verbs of TransactWriteCommand hand it out with out.

public readonly struct TransactMarker
Inherited Members

Remarks

A catch filter can only see a marker that is declared outside the try, and the compiler then wants it assigned before the try, because the action may never have been added: TransactMarker taken = default;. A default marker names no action.