TransactionOption
enum
Namespace: Orleans
Specifies how a method call or delegate interacts with an ambient transaction.
public enum TransactionOptionFields
| Name | Value | Description |
|---|---|---|
Suppress | 0 | Executes grain calls without propagating an ambient transaction. Delegate execution rejects an existing ambient transaction. |
CreateOrJoin | 1 | Joins the ambient transaction when one exists; otherwise, creates a transaction. |
Create | 2 | Creates a transaction, independently of any ambient transaction. |
Join | 3 | Joins the ambient transaction and requires one to exist. |
Supported | 4 | Propagates the ambient transaction when one exists and executes without a transaction otherwise. |
NotAllowed | 5 | Executes without a transaction and rejects calls made within an ambient transaction. |
