Share via


DistributedSession.CommitAsync Method

Definition

Overloads

CommitAsync()
CommitAsync(CancellationToken)

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

CommitAsync()

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

Returns

Implements

Applies to

CommitAsync(CancellationToken)

Source:
DistributedSession.cs
Source:
DistributedSession.cs
Source:
DistributedSession.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
override this.CommitAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CommitAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

Returns

Implements

Applies to