TransactionRequestBase
class
Namespace: Orleans
Provides transaction propagation and resolution for generated grain request invokers.
[Orleans.GenerateSerializer]public abstract class TransactionRequestBase : RequestBase, IOutgoingGrainCallFilter, IOnDeserializedConstructors
TransactionRequestBase(Serializer<OrleansTransactionAbortedException>, IServiceProvider)Initializes a new instance of theTransactionRequestBaseclass.
Properties
IsAmbientTransactionSuppressedGets a value indicating whether the request executes outside the ambient transaction.IsTransactionRequiredGets a value indicating whether the request requires a transaction context.TransactionInfoGets or sets the transaction information propagated with the request.TransactionOptionGets or sets the transaction behavior for the request.UseExclusiveLockGets or sets a value indicating whether transactional state reads acquire exclusive locks.
Methods
BaseInvokeInvokes the generated request implementation.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.InvokeInvoke the object.SetExclusiveLock(bool)Sets whether transactional state reads acquire exclusive locks.SetTransactionOptions(TransactionOption)Sets the transaction behavior for the request.SetTransactionOptions(TransactionOptionAlias)Sets the transaction behavior using a compatibility alias.
