Dela via


ISession.CommitAsync Method

Definition

Overloads

CommitAsync()

Store the session in the data store. This may throw if the data store is unavailable.

CommitAsync(CancellationToken)

Store the session in the data store. This may throw if the data store is unavailable.

CommitAsync()

Store the session in the data store. This may throw if the data store is unavailable.

public:
 System::Threading::Tasks::Task ^ CommitAsync();
public System.Threading.Tasks.Task CommitAsync ();
abstract member CommitAsync : unit -> System.Threading.Tasks.Task
Public Function CommitAsync () As Task

Returns

Applies to

CommitAsync(CancellationToken)

Source:
ISession.cs

Store the session in the data store. This may throw if the data store is unavailable.

public System.Threading.Tasks.Task CommitAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CommitAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CommitAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Applies to