IClientSessionHandle Interface |
Namespace: MongoDB.Driver
The IClientSessionHandle type exposes the following members.
| Name | Description | |
|---|---|---|
| Client |
Gets the client.
(Inherited from IClientSession.) | |
| ClusterTime |
Gets the cluster time.
(Inherited from IClientSession.) | |
| IsImplicit |
Gets a value indicating whether this session is an implicit session.
(Inherited from IClientSession.) | |
| IsInTransaction |
Gets a value indicating whether this instance is in a transaction.
(Inherited from IClientSession.) | |
| OperationTime |
Gets the operation time.
(Inherited from IClientSession.) | |
| Options |
Gets the options.
(Inherited from IClientSession.) | |
| ServerSession |
Gets the server session.
(Inherited from IClientSession.) | |
| WrappedCoreSession |
Gets the wrapped core session (intended for internal use only).
(Inherited from IClientSession.) |
| Name | Description | |
|---|---|---|
| AbortTransaction |
Aborts the transaction.
(Inherited from IClientSession.) | |
| AbortTransactionAsync |
Aborts the transaction.
(Inherited from IClientSession.) | |
| AdvanceClusterTime |
Advances the cluster time.
(Inherited from IClientSession.) | |
| AdvanceOperationTime |
Advances the operation time.
(Inherited from IClientSession.) | |
| CommitTransaction |
Commits the transaction.
(Inherited from IClientSession.) | |
| CommitTransactionAsync |
Commits the transaction.
(Inherited from IClientSession.) | |
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| Fork |
Forks this instance.
| |
| StartTransaction |
Starts a transaction.
(Inherited from IClientSession.) | |
| WithTransactionTResult |
Executes a callback within a transaction, with retries if needed.
(Inherited from IClientSession.) | |
| WithTransactionAsyncTResult |
Executes a callback within a transaction, with retries if needed.
(Inherited from IClientSession.) |