Method StartSessionAsync
- Namespace
- MongoDB.EntityFrameworkCore.Storage
- Assembly
- MongoDB.EntityFrameworkCore.dll
StartSessionAsync(CancellationToken)
Start a new client session asynchronously.
public Task<IClientSessionHandle> StartSessionAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA CancellationToken that can be used to cancel this asynchronous request.