MongoCursor Constructor (MongoCollection, IMongoQuery, ReadConcern, ReadPreference, IBsonSerializer) |
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
Syntax protected MongoCursor(
MongoCollection collection,
IMongoQuery query,
ReadConcern readConcern,
ReadPreference readPreference,
IBsonSerializer serializer
)
Protected Sub New (
collection As MongoCollection,
query As IMongoQuery,
readConcern As ReadConcern,
readPreference As ReadPreference,
serializer As IBsonSerializer
)
new :
collection : MongoCollection *
query : IMongoQuery *
readConcern : ReadConcern *
readPreference : ReadPreference *
serializer : IBsonSerializer -> MongoCursor
Parameters
- collection
- Type: MongoDB.DriverMongoCollection
The collection. - query
- Type: MongoDB.DriverIMongoQuery
The query. - readConcern
- Type: MongoDB.DriverReadConcern
The read concern. - readPreference
- Type: MongoDB.DriverReadPreference
The read preference. - serializer
- Type: MongoDB.Bson.SerializationIBsonSerializer
The serializer.
See Also