IDBContext.BeginTransactionAsync Method

Relativity API
Asynchronously opens a transaction against the connected SQL server.

Namespace:  Relativity.API
Assembly:  Relativity.API (in Relativity.API.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

Task BeginTransactionAsync(
	CancellationToken cancelToken
)

Parameters

cancelToken
Type: System.Threading.CancellationToken

Return Value

Type: Task
Exceptions

ExceptionCondition
SqlExceptionMultiple Active Result Sets (MARS) is enabled; parallel transactions are not allowed.
InvalidOperationExceptionParallel transactions are not supported.
See Also

Reference