Table of Contents

Struct ConnectionClosedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.dll

Occurs after a connection is closed.

public struct ConnectionClosedEvent
Inherited Members

Constructors

ConnectionClosedEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionClosedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to close the connection.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.