Method StartSession
StartSession(ClientSessionOptions, CancellationToken)
Starts a client session.
public virtual IClientSessionHandle StartSession(ClientSessionOptions options = null, CancellationToken cancellationToken = default)
Parameters
options
ClientSession Options The session options.
cancellationToken
CancellationToken The cancellation token.
Returns
- IClient
Session Handle A client session.