ConnectionPoolListenerPair Methods |
The ConnectionPoolListenerPair type exposes the following members.
Name | Description | |
---|---|---|
ConnectionPoolAfterAddingAConnection |
An event that occurs after a connection has been added to a connection pool.
| |
ConnectionPoolAfterCheckingInAConnection |
An event that occurs after a connection has been checked in to a connection pool.
| |
ConnectionPoolAfterCheckingOutAConnection |
An event that occurs after a connection has been checked out from a connection pool.
| |
ConnectionPoolAfterClosing |
An event that occurs after a connection pool has been closed.
| |
ConnectionPoolAfterEnteringWaitQueue |
An event that occurs after a task has entered a connection pool's wait queue.
| |
ConnectionPoolAfterOpening |
An event that occurs after a connection pool has been opened.
| |
ConnectionPoolAfterRemovingAConnection |
An event that occurs after a connection has been removed from a connection pool.
| |
ConnectionPoolBeforeAddingAConnection |
An event that occurs before adding a connection to a connection pool.
| |
ConnectionPoolBeforeCheckingInAConnection |
An event that occurs before checking in a connection to a connection pool.
| |
ConnectionPoolBeforeCheckingOutAConnection |
An event that occurs before checking out a connection from a connection pool.
| |
ConnectionPoolBeforeClosing |
An event that occurs before closing a connection pool.
| |
ConnectionPoolBeforeEnteringWaitQueue |
An event that occurs before a task enters a connection pool's wait queue.
| |
ConnectionPoolBeforeOpening |
An event that occurs before opening a connection pool.
| |
ConnectionPoolBeforeRemovingAConnection |
An event that occurs before removing a connection from a connection pool.
| |
ConnectionPoolErrorCheckingOutAConnection |
An event that occurs when an error occurred while checking out a connection from a connection pool.
| |
ConnectionPoolErrorEnteringWaitQueue |
An event that occurs when there is an error while a task was entering the connection pool's wait queue.
| |
Create |
Combines two connection pool listeners.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |