| Name | Description |
---|
![Public method Public method](../icons/pubmethod.gif) | DropDatabase(String, CancellationToken) |
Drops the database with the specified name.
(Overrides MongoClientBaseDropDatabase(String, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | DropDatabase(IClientSessionHandle, String, CancellationToken) |
Drops the database with the specified name.
(Overrides MongoClientBaseDropDatabase(IClientSessionHandle, String, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | DropDatabaseAsync(String, CancellationToken) |
Drops the database with the specified name.
(Overrides MongoClientBaseDropDatabaseAsync(String, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | DropDatabaseAsync(IClientSessionHandle, String, CancellationToken) |
Drops the database with the specified name.
(Overrides MongoClientBaseDropDatabaseAsync(IClientSessionHandle, String, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![Protected method Protected method](../icons/protmethod.gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![Public method Public method](../icons/pubmethod.gif) | GetDatabase |
Gets a database.
(Overrides MongoClientBaseGetDatabase(String, MongoDatabaseSettings).) |
![Public method Public method](../icons/pubmethod.gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![Public method Public method](../icons/pubmethod.gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNames(CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(IClientSessionHandle, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNames(IClientSessionHandle, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(ListDatabaseNamesOptions, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNames(ListDatabaseNamesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNames(IClientSessionHandle, ListDatabaseNamesOptions, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNames(IClientSessionHandle, ListDatabaseNamesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNamesAsync(CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(IClientSessionHandle, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNamesAsync(IClientSessionHandle, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(ListDatabaseNamesOptions, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNamesAsync(ListDatabaseNamesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabaseNamesAsync(IClientSessionHandle, ListDatabaseNamesOptions, CancellationToken) |
Returns the names of the databases on the server.
(Overrides MongoClientBaseListDatabaseNamesAsync(IClientSessionHandle, ListDatabaseNamesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabases(CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(IClientSessionHandle, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabases(IClientSessionHandle, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabases(ListDatabasesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabases(IClientSessionHandle, ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabases(IClientSessionHandle, ListDatabasesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabasesAsync(CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(IClientSessionHandle, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabasesAsync(IClientSessionHandle, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabasesAsync(ListDatabasesOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ListDatabasesAsync(IClientSessionHandle, ListDatabasesOptions, CancellationToken) |
Lists the databases on the server.
(Overrides MongoClientBaseListDatabasesAsync(IClientSessionHandle, ListDatabasesOptions, CancellationToken).) |
![Protected method Protected method](../icons/protmethod.gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![Public method Public method](../icons/pubmethod.gif) | StartSession |
Starts a client session.
(Overrides MongoClientBaseStartSession(ClientSessionOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | StartSessionAsync |
Starts a client session.
(Overrides MongoClientBaseStartSessionAsync(ClientSessionOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Overrides MongoClientBaseWatchTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Inherited from MongoClientBase.) |
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Overrides MongoClientBaseWatchTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | WatchTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Inherited from MongoClientBase.) |
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Overrides MongoClientBaseWatchAsyncTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Inherited from MongoClientBase.) |
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Overrides MongoClientBaseWatchAsyncTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken).) |
![Public method Public method](../icons/pubmethod.gif) | WatchAsyncTResult(IClientSessionHandle, PipelineDefinitionChangeStreamDocumentBsonDocument, TResult, ChangeStreamOptions, CancellationToken) |
Watches changes on all collections in all databases.
(Inherited from MongoClientBase.) |
![Public method Public method](../icons/pubmethod.gif) | WithReadConcern |
Returns a new IMongoClient instance with a different read concern setting.
(Overrides MongoClientBaseWithReadConcern(ReadConcern).) |
![Public method Public method](../icons/pubmethod.gif) | WithReadPreference |
Returns a new IMongoClient instance with a different read preference setting.
(Overrides MongoClientBaseWithReadPreference(ReadPreference).) |
![Public method Public method](../icons/pubmethod.gif) | WithWriteConcern |
Returns a new IMongoClient instance with a different write concern setting.
(Overrides MongoClientBaseWithWriteConcern(WriteConcern).) |