Skip to content

TransactionOption

enum

Namespace: Orleans

Specifies how a method call or delegate interacts with an ambient transaction.
public enum TransactionOption

Fields

NameValueDescription
Suppress0Executes grain calls without propagating an ambient transaction. Delegate execution rejects an existing ambient transaction.
CreateOrJoin1Joins the ambient transaction when one exists; otherwise, creates a transaction.
Create2Creates a transaction, independently of any ambient transaction.
Join3Joins the ambient transaction and requires one to exist.
Supported4Propagates the ambient transaction when one exists and executes without a transaction otherwise.
NotAllowed5Executes without a transaction and rejects calls made within an ambient transaction.