Click or drag to resize

IConnectionHandle Interface

Represents a handle to a connection.

Namespace:  MongoDB.Driver.Core.Connections
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
public interface IConnectionHandle : IConnection, 
	IDisposable

The IConnectionHandle type exposes the following members.

Properties
  NameDescription
Public propertyConnectionId
Gets the connection identifier.
(Inherited from IConnection.)
Public propertyDescription
Gets the connection description.
(Inherited from IConnection.)
Public propertyEndPoint
Gets the end point.
(Inherited from IConnection.)
Public propertyIsExpired
Gets a value indicating whether this instance is expired.
(Inherited from IConnection.)
Public propertySettings
Gets the connection settings.
(Inherited from IConnection.)
Top
Methods
  NameDescription
Public methodDispose (Inherited from IDisposable.)
Public methodFork
A new handle to the underlying connection.
Public methodOpen
Opens the connection.
(Inherited from IConnection.)
Public methodOpenAsync
Opens the connection.
(Inherited from IConnection.)
Public methodReceiveMessage
Receives a message.
(Inherited from IConnection.)
Public methodReceiveMessageAsync
Receives a message.
(Inherited from IConnection.)
Public methodSendMessages
Sends the messages.
(Inherited from IConnection.)
Public methodSendMessagesAsync
Sends the messages.
(Inherited from IConnection.)
Top
See Also