Struct ConnectionOpenedEvent
Occurs after a connection is opened.
public struct ConnectionOpenedEvent
- Inherited Members
Constructors
ConnectionOpenedEvent(ConnectionId, ConnectionSettings, TimeSpan, long?)
Initializes a new instance of the ConnectionOpenedEvent struct.
public ConnectionOpenedEvent(ConnectionId connectionId, ConnectionSettings connectionSettings, TimeSpan duration, long? operationId)
Parameters
connectionId
ConnectionIdThe connection identifier.
connectionSettings
ConnectionSettingsThe connection settings.
duration
TimeSpanThe duration of time it took to open the connection.
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
ConnectionSettings
Gets the connection settings.
public ConnectionSettings ConnectionSettings { get; }
Property Value
Duration
Gets the duration of time it took to open the connection.
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; }