Namespace MongoDB.Driver.Core.Events
| MongoDB CSharp Driver API Reference (original) (raw)
The MongoDB.Driver.Core.Events namespace contains classes related to events.
Classes
Subscribes methods with a single argument to events of that single argument's type.
Subscriber for a single type of event.
Structs
Occurs after a server is added to the cluster.
Occurs before a server is added to the cluster.
Occurs after a cluster is closed.
Occurs before a cluster is closed.
ClusterDescriptionChangedEvent
Occurs when a cluster has changed.
Occurs after a cluster is opened.
Occurs before a cluster is opened.
Occurs after a server has been removed from the cluster.
Occurs before a server is removed from the cluster.
Occurs after a server is selected.
Occurs before a server is selected.
ClusterSelectingServerFailedEvent
Occurs when selecting a server fails.
Occurs when a command has failed.
Occurs when a command has started.
Occurs when a command has succeeded.
Occurs after a connection is closed.
Occurs before a connection is closed.
Occurs when a connection is created.
Occurs when a connection fails.
Occurs after a connection is opened.
Occurs before a connection is opened.
Occurs when a connection fails to open.
ConnectionPoolAddedConnectionEvent
Occurs after a connection is added to the pool.
ConnectionPoolAddingConnectionEvent
Occurs before a connection is added to the pool.
ConnectionPoolCheckedInConnectionEvent
Occurs after a connection is checked in to the pool.
ConnectionPoolCheckedOutConnectionEvent
Occurs after a connection is checked out of the pool.
ConnectionPoolCheckingInConnectionEvent
Occurs before a connection is checked in to the pool.
ConnectionPoolCheckingOutConnectionEvent
Occurs before a connection is checked out of the pool.
ConnectionPoolCheckingOutConnectionFailedEvent
Occurs when a connection could not be checked out of the pool.
Occurs after the pool is cleared.
Occurs when the pool is about to be cleared.
Occurs after the pool is closed.
Occurs before the pool is closed.
Occurs after the pool is opened.
Occurs before the pool is opened.
Occurs after the pool is opened.
ConnectionPoolRemovedConnectionEvent
Occurs after a connection is removed from the pool.
ConnectionPoolRemovingConnectionEvent
Occurs before a connection is removed from the pool.
ConnectionReceivedMessageEvent
Occurs after a message is received.
ConnectionReceivingMessageEvent
Occurs before a message is received.
ConnectionReceivingMessageFailedEvent
Occurs when a message was unable to be received.
ConnectionSendingMessagesEvent
Occurs before a message is sent.
ConnectionSendingMessagesFailedEvent
Occurs when a message could not be sent.
Occurs after a message has been sent.
An informational event used for logging Server Discovery and Monitoring (SDAM) events.
Occurs after a server is closed.
Occurs before a server is closed.
Occurs after a server's description has changed.
Occurs when a heartbeat failed.
Occurs before heartbeat is issued.
Occurs when a heartbeat succeeded.
Occurs after a server is opened.
Occurs before a server is opened.
Interfaces
A subscriber to events.
Enums
ConnectionCheckOutFailedReason
Represents the reason an attempt to check out a connection failed.
Represents the reason a connection was closed.