Method StartSession
StartSession(ClientSessionOptions, CancellationToken)
Starts a client session.
public IClientSessionHandle StartSession(ClientSessionOptions options = null, CancellationToken cancellationToken = default)
Parameters
options
ClientSessionOptionsThe session options.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- IClientSessionHandle
A client session.