IConnection Interface |
Namespace: MongoDB.Driver.Core.Connections
The IConnection type exposes the following members.
Name | Description | |
---|---|---|
ConnectionId |
Gets the connection identifier.
| |
Description |
Gets the connection description.
| |
EndPoint |
Gets the end point.
| |
Generation |
Gets the generation of the pool when this connection was created.
| |
IsExpired |
Gets a value indicating whether this instance is expired.
| |
Settings |
Gets the connection settings.
|
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Open |
Opens the connection.
| |
OpenAsync |
Opens the connection.
| |
ReceiveMessage |
Receives a message.
| |
ReceiveMessageAsync |
Receives a message.
| |
SendMessages |
Sends the messages.
| |
SendMessagesAsync |
Sends the messages.
| |
SetReadTimeout |
Set read timeout value.
|