ReadPreferenceBinding Class (original) (raw)

Represents a read binding to a cluster using a ReadPreference to select the server.

Inheritance Hierarchy

SystemObject
MongoDB.Driver.Core.BindingsReadPreferenceBinding

Namespace: MongoDB.Driver.Core.Bindings
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public sealed class ReadPreferenceBinding : IReadBinding, IBinding, IDisposable

Public NotInheritable Class ReadPreferenceBinding Implements IReadBinding, IBinding, IDisposable

[] type ReadPreferenceBinding =
class interface IReadBinding interface IBinding interface IDisposable end

The ReadPreferenceBinding type exposes the following members.

Constructors

Properties

Methods

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Public method | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | | Public method | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | | Public method | GetHashCode | Serves as the default hash function. (Inherited from Object.) | | Public method | GetReadChannelSource | Gets a channel source for read operations. | | Public method | GetReadChannelSourceAsync | Gets a channel source for read operations. | | Public method | GetType | Gets the Type of the current instance. (Inherited from Object.) | | Public method | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Top

Extension Methods

See Also

Reference