Click or drag to resize

CoreSessionHandle Methods

The CoreSessionHandle type exposes the following members.

Methods
  NameDescription
Public methodAbortTransaction
Aborts the transaction.
(Inherited from WrappingCoreSession.)
Public methodAbortTransactionAsync
Aborts the transaction.
(Inherited from WrappingCoreSession.)
Public methodAboutToSendCommand
The driver is about to send a command on this session. Called to track session state.
(Inherited from WrappingCoreSession.)
Public methodAdvanceClusterTime
Advances the cluster time.
(Inherited from WrappingCoreSession.)
Public methodAdvanceOperationTime
Advances the operation time.
(Inherited from WrappingCoreSession.)
Public methodAdvanceTransactionNumber
Advances the transaction id.
(Inherited from WrappingCoreSession.)
Public methodCommitTransaction
Commits the transaction.
(Inherited from WrappingCoreSession.)
Public methodCommitTransactionAsync
Commits the transaction.
(Inherited from WrappingCoreSession.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from WrappingCoreSession.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFork
Increments the reference count of the underlying session and returns a new handle to it.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStartTransaction
Starts a transaction.
(Inherited from WrappingCoreSession.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWasUsed
Called by the driver when the session is used (i.e. sent to the server).
(Inherited from WrappingCoreSession.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBson
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.)
Public Extension MethodToBsonDocument
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.)
Public Extension MethodToJson
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.)
Top
See Also