ICoreSessionHandle Interface |
Namespace: MongoDB.Driver.Core.Bindings
The ICoreSessionHandle type exposes the following members.
| Name | Description | |
|---|---|---|
| ClusterTime |
Gets the cluster time.
(Inherited from ICoreSession.) | |
| CurrentTransaction |
Gets the current transaction.
(Inherited from ICoreSession.) | |
| Id |
Gets the session Id.
(Inherited from ICoreSession.) | |
| IsCausallyConsistent |
Gets a value indicate whether this instance is causally consistent.
(Inherited from ICoreSession.) | |
| IsDirty |
Gets a value indicate whether this session is dirty.
(Inherited from ICoreSession.) | |
| IsImplicit |
Gets a value indicating whether this instance is implicit session.
(Inherited from ICoreSession.) | |
| IsInTransaction |
Gets a value indicating whether this instance is in a transaction.
(Inherited from ICoreSession.) | |
| OperationTime |
Gets the operation time.
(Inherited from ICoreSession.) | |
| Options |
Gets the session options.
(Inherited from ICoreSession.) | |
| ServerSession |
Gets the server session.
(Inherited from ICoreSession.) |
| Name | Description | |
|---|---|---|
| AbortTransaction |
Aborts the transaction.
(Inherited from ICoreSession.) | |
| AbortTransactionAsync |
Aborts the transaction.
(Inherited from ICoreSession.) | |
| AboutToSendCommand |
The driver is about to send a command on this session. Called to track session state.
(Inherited from ICoreSession.) | |
| AdvanceClusterTime |
Advances the cluster time.
(Inherited from ICoreSession.) | |
| AdvanceOperationTime |
Advances the operation time.
(Inherited from ICoreSession.) | |
| AdvanceTransactionNumber |
Advances the transaction id.
(Inherited from ICoreSession.) | |
| CommitTransaction |
Commits the transaction.
(Inherited from ICoreSession.) | |
| CommitTransactionAsync |
Commits the transaction.
(Inherited from ICoreSession.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| Fork |
Increments the reference count of the underlying session and returns a new handle to it.
| |
| MarkDirty |
Marks the session as dirty.
(Inherited from ICoreSession.) | |
| StartTransaction |
Starts a transaction.
(Inherited from ICoreSession.) | |
| WasUsed |
Called by the driver when the session is used (i.e. sent to the server).
(Inherited from ICoreSession.) |