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.3.0
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
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(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