CoreSessionHandle Class |
Namespace: MongoDB.Driver.Core.Bindings
The CoreSessionHandle type exposes the following members.
Name | Description | |
---|---|---|
CoreSessionHandle |
Initializes a new instance of the CoreSessionHandle class.
|
Name | Description | |
---|---|---|
ClusterTime |
Gets the cluster time.
(Inherited from WrappingCoreSession.) | |
Id |
Gets the session Id.
(Inherited from WrappingCoreSession.) | |
IsCausallyConsistent |
Gets a value indicate whether this instance is causally consistent.
(Inherited from WrappingCoreSession.) | |
IsImplicit |
Gets a value indicating whether this instance is implicit session.
(Inherited from WrappingCoreSession.) | |
OperationTime |
Gets the operation time.
(Inherited from WrappingCoreSession.) | |
Wrapped |
Gets the wrapped session.
(Inherited from WrappingCoreSession.) |
Name | Description | |
---|---|---|
AdvanceClusterTime |
Advances the cluster time.
(Inherited from WrappingCoreSession.) | |
AdvanceOperationTime |
Advances the operation time.
(Inherited from WrappingCoreSession.) | |
AdvanceTransactionNumber |
Advances the transaction id.
(Inherited from WrappingCoreSession.) | |
Dispose | (Inherited from WrappingCoreSession.) | |
Equals | (Inherited from Object.) | |
Fork |
Increments the reference count of the underlying session and returns a new handle to it.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
WasUsed |
Called by the driver when the session is used (i.e. sent to the server).
(Inherited from WrappingCoreSession.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |