DistributedSession.CommitAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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