Share via


ITransaction.GetVisibilitySequenceNumberAsync Method

Definition

Gets the visibility sequence number.

public System.Threading.Tasks.Task<long> GetVisibilitySequenceNumberAsync();
abstract member GetVisibilitySequenceNumberAsync : unit -> System.Threading.Tasks.Task<int64>
Public Function GetVisibilitySequenceNumberAsync () As Task(Of Long)

Returns

The visibility sequence number.

Remarks

<exception cref="T:System.Fabric.TransactionFaultedException">The transaction has been internally faulted by the system. Retry the operation on a new transaction</exception> <exception cref="T:System.InvalidOperationException"> Thrown when a method call is invalid for the object's current state. Example, transaction used is already terminated: committed or aborted by the user. If this exception is thrown, it is highly likely that there is a bug in the service code of the use of transactions. </exception>

Applies to