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