IServerSession Interface |
Namespace: MongoDB.Driver
The IServerSession type exposes the following members.
Name | Description | |
---|---|---|
Id |
Gets the session Id.
| |
LastUsedAt |
Gets the time this server session was last used (in UTC).
|
Name | Description | |
---|---|---|
AdvanceTransactionNumber |
Gets the next transaction number.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
WasUsed |
Called by the driver when the session is used (i.e. sent to the server).
|