Struct ConnectionPoolRemovedConnectionEvent
Occurs after a connection is removed from the pool.
public struct ConnectionPoolRemovedConnectionEvent
- Inherited Members
Constructors
ConnectionPoolRemovedConnectionEvent(ConnectionId, TimeSpan, long?)
Initializes a new instance of the ConnectionPoolRemovedConnectionEvent struct.
public ConnectionPoolRemovedConnectionEvent(ConnectionId connectionId, TimeSpan duration, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
duration
TimeSpanThe duration of time it took to remove the connection from the pool.
operationId
long?The operation identifier.
Properties
ClusterId
Gets the cluster identifier.
public ClusterId ClusterId { get; }
Property Value
ConnectionId
Gets the connection identifier.
public ConnectionId ConnectionId { get; }
Property Value
Duration
Gets the duration of time it took to remove the connection from the pool.
public TimeSpan Duration { get; }
Property Value
OperationId
Gets the operation identifier.
public long? OperationId { get; }
Property Value
- long?
ServerId
Gets the server identifier.
public ServerId ServerId { get; }
Property Value
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }