Click or drag to resize

IClientSessionHandle Interface

A handle to an underlying reference counted IClientSession.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax
public interface IClientSessionHandle : IClientSession, 
	IDisposable

The IClientSessionHandle type exposes the following members.

Properties
  NameDescription
Public propertyClient
Gets the client.
(Inherited from IClientSession.)
Public propertyClusterTime
Gets the cluster time.
(Inherited from IClientSession.)
Public propertyIsImplicit
Gets a value indicating whether this session is an implicit session.
(Inherited from IClientSession.)
Public propertyIsInTransaction
Gets a value indicating whether this instance is in a transaction.
(Inherited from IClientSession.)
Public propertyOperationTime
Gets the operation time.
(Inherited from IClientSession.)
Public propertyOptions
Gets the options.
(Inherited from IClientSession.)
Public propertyServerSession
Gets the server session.
(Inherited from IClientSession.)
Public propertyWrappedCoreSession
Gets the wrapped core session (intended for internal use only).
(Inherited from IClientSession.)
Top
Methods
  NameDescription
Public methodAbortTransaction
Aborts the transaction.
(Inherited from IClientSession.)
Public methodAbortTransactionAsync
Aborts the transaction.
(Inherited from IClientSession.)
Public methodAdvanceClusterTime
Advances the cluster time.
(Inherited from IClientSession.)
Public methodAdvanceOperationTime
Advances the operation time.
(Inherited from IClientSession.)
Public methodCommitTransaction
Commits the transaction.
(Inherited from IClientSession.)
Public methodCommitTransactionAsync
Commits the transaction.
(Inherited from IClientSession.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFork
Forks this instance.
Public methodStartTransaction
Starts a transaction.
(Inherited from IClientSession.)
Top
See Also