Click or drag to resize

ICoreSessionHandle Interface

A handle to a reference counted core session.

Namespace:  MongoDB.Driver.Core.Bindings
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
Syntax
public interface ICoreSessionHandle : ICoreSession, 
	IDisposable

The ICoreSessionHandle type exposes the following members.

Properties
  NameDescription
Public propertyClusterTime
Gets the cluster time.
(Inherited from ICoreSession.)
Public propertyCurrentTransaction
Gets the current transaction.
(Inherited from ICoreSession.)
Public propertyId
Gets the session Id.
(Inherited from ICoreSession.)
Public propertyIsCausallyConsistent
Gets a value indicate whether this instance is causally consistent.
(Inherited from ICoreSession.)
Public propertyIsImplicit
Gets a value indicating whether this instance is implicit session.
(Inherited from ICoreSession.)
Public propertyIsInTransaction
Gets a value indicating whether this instance is in a transaction.
(Inherited from ICoreSession.)
Public propertyOperationTime
Gets the operation time.
(Inherited from ICoreSession.)
Public propertyOptions
Gets the session options.
(Inherited from ICoreSession.)
Public propertyServerSession
Gets the server session.
(Inherited from ICoreSession.)
Top
Methods
  NameDescription
Public methodAbortTransaction
Aborts the transaction.
(Inherited from ICoreSession.)
Public methodAbortTransactionAsync
Aborts the transaction.
(Inherited from ICoreSession.)
Public methodAboutToSendCommand
The driver is about to send a command on this session. Called to track session state.
(Inherited from ICoreSession.)
Public methodAdvanceClusterTime
Advances the cluster time.
(Inherited from ICoreSession.)
Public methodAdvanceOperationTime
Advances the operation time.
(Inherited from ICoreSession.)
Public methodAdvanceTransactionNumber
Advances the transaction id.
(Inherited from ICoreSession.)
Public methodCommitTransaction
Commits the transaction.
(Inherited from ICoreSession.)
Public methodCommitTransactionAsync
Commits the transaction.
(Inherited from ICoreSession.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFork
Increments the reference count of the underlying session and returns a new handle to it.
Public methodStartTransaction
Starts a transaction.
(Inherited from ICoreSession.)
Public methodWasUsed
Called by the driver when the session is used (i.e. sent to the server).
(Inherited from ICoreSession.)
Top
See Also