Click or drag to resize

IClientSession Interface

The interface for a client session.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public interface IClientSession : IDisposable

The IClientSession type exposes the following members.

Properties
  NameDescription
Public propertyClient
Gets the client.
Public propertyClusterTime
Gets the cluster time.
Public propertyIsImplicit
Gets a value indicating whether this session is an implicit session.
Public propertyOperationTime
Gets the operation time.
Public propertyOptions
Gets the options.
Public propertyServerSession
Gets the server session.
Top
Methods
  NameDescription
Public methodAdvanceClusterTime
Advances the cluster time.
Public methodAdvanceOperationTime
Advances the operation time.
Public methodDispose (Inherited from IDisposable.)
Top
See Also