ConnectionOpenedEvent Structure |
Namespace: MongoDB.Driver.Core.Events
The ConnectionOpenedEvent type exposes the following members.
Name | Description | |
---|---|---|
ConnectionOpenedEvent |
Initializes a new instance of the ConnectionOpenedEvent struct.
|
Name | Description | |
---|---|---|
ClusterId |
Gets the cluster identifier.
| |
ConnectionId |
Gets the connection identifier.
| |
ConnectionSettings |
Gets the connection settings.
| |
Duration |
Gets the duration of time it took to open the connection.
| |
OperationId |
Gets the operation identifier.
| |
ServerId |
Gets the server identifier.
|
Name | Description | |
---|---|---|
Equals | (Inherited from ValueType.) | |
GetHashCode | (Inherited from ValueType.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from ValueType.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |