Enum ConnectionCheckOutFailedReason

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Represents the reason an attempt to check out a connection failed.

public enum ConnectionCheckOutFailedReason

Fields

PoolClosed = 0

The connection pool is closed.

Timeout = 1

Timeout waiting for a connection to become available.

ConnectionError = 2

Connection error while opening a new connection.