Table of Contents

Class ConnectionDescription

Namespace
MongoDB.Driver.Core.Connections
Assembly
MongoDB.Driver.Core.dll

Represents information describing a connection.

public sealed class ConnectionDescription : IEquatable<ConnectionDescription>
Inheritance
ConnectionDescription
Implements
Inherited Members

Constructors

ConnectionDescription(ConnectionId, HelloResult)

Initializes a new instance of the ConnectionDescription class.

Properties

AvailableCompressors

Gets the available compressors.

ConnectionId

Gets the connection identifier.

HelloResult

Gets the hello result.

IsMasterResult

Gets the hello result.

MaxBatchCount

Gets the maximum number of documents in a batch.

MaxDocumentSize

Gets the maximum size of a document.

MaxMessageSize

Gets the maximum size of a message.

MaxWireDocumentSize

Gets the maximum size of a wire document.

MaxWireVersion

Gets the maximum wire version.

MinWireVersion

Gets the minimum wire version.

ServerVersion

Gets the server version.

ServiceId

Gets the service identifier.

Methods

Equals(ConnectionDescription)
Equals(object)
GetHashCode()
WithConnectionId(ConnectionId)

Returns a new instance of ConnectionDescription with a different connection identifier.