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