Skip to content

ITransactionAgent.StartTransaction(bool, TimeSpan)

StartTransaction(bool, TimeSpan)

abstract
public abstract Task<TransactionInfo> StartTransaction(bool readOnly, TimeSpan timeout)
Starts a new transaction.

Parameters

readOnlybool
A value indicating whether the transaction permits read operations only.
timeoutTimeSpan
The interval after which the transaction is eligible to be aborted.

Returns

The new transaction's context information.