ConnectionListenerPair Class |
Namespace: MongoDB.Driver.Core.Events
The ConnectionListenerPair type exposes the following members.
Name | Description | |
---|---|---|
ConnectionListenerPair |
Initializes a new instance of the ConnectionListenerPair class.
|
Name | Description | |
---|---|---|
ConnectionAfterClosing |
An event that occurs after a connection has been closed.
| |
ConnectionAfterOpening |
An event that occurs after a connection has been opened.
| |
ConnectionAfterReceivingMessage |
An event that occurs after a message has been received on a connection.
| |
ConnectionAfterSendingMessages |
An event that occurs after a set of message has been sent.
| |
ConnectionBeforeClosing |
An event that occurs before closing a connection.
| |
ConnectionBeforeOpening |
An event that occurs before opening a connection.
| |
ConnectionBeforeReceivingMessage |
An event that occurs before receiving a message on a connection.
| |
ConnectionBeforeSendingMessages |
An event that occurs before sending a set of messages.
| |
ConnectionErrorOpening |
An event that occurs when there is an error while opening a connection.
| |
ConnectionErrorReceivingMessage |
An event that occurs when there is an an error while receiving a message.
| |
ConnectionErrorSendingMessages |
An event that occurs when there is an error while sending a set of messages.
| |
ConnectionFailed |
An event that occurs when a connection has failed.
| |
Create |
Combines two connection 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.) |