AceQL HTTP C# Client SDK v2.0

AceQLConnection..::..BeginTransactionAsync Method (IsolationLevel, CancellationToken)

Initializes a new AceQLTransactionobject with the specified isolation level. This will put the remote connection in auto commit mode off.

The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.

Namespace:  AceQL.Client.Api
Assembly:  AceQL.Client (in AceQL.Client.dll)

Syntax


public Task<AceQLTransaction> BeginTransactionAsync(
	IsolationLevel isolationLevel,
	CancellationToken cancellationToken
)

Parameters

isolationLevel
Type: AceQL.Client.Api..::..IsolationLevel
The isolation level.
cancellationToken
Type: CancellationToken
The cancellation instruction.

Return Value

A new AceQLTransaction object.

Exceptions


ExceptionCondition
AceQL.Client.Api..::..AceQLExceptionIf any Exception occurs.