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 | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from WrappingCoreSession.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Fork |
Increments the reference count of the underlying session and returns a new handle to it.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (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.) |