ReadPreferenceBinding Class |
Namespace: MongoDB.Driver.Core.Bindings
The ReadPreferenceBinding type exposes the following members.
Name | Description | |
---|---|---|
ReadPreferenceBinding |
Initializes a new instance of the ReadPreferenceBinding class.
|
Name | Description | |
---|---|---|
ReadPreference |
Gets the read preference.
| |
Session |
Gets the session.
|
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the ReadPreferenceBinding | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetReadChannelSource |
Gets a channel source for read operations.
| |
GetReadChannelSourceAsync |
Gets a channel source for read operations.
| |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |