File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,11 @@ The 3.0 driver release includes the following new features:
57
57
58
58
- The ``IMongoClient`` interface inherits the ``IDisposable`` interface. As a result, the
59
59
``MongoClient`` class and other classes that implement the ``IMongoClient`` interface
60
- contain a ``Dispose()`` method, which disposes of the underlying cluster and
61
- connections to the MongoDB server. This implementation is experimental.
60
+ contain a ``Dispose()`` method, which disposes of the client. This method does not
61
+ dispose the underlying cluster and connections to the MongoDB server. To
62
+ dispose of the cluster and connections, call the
63
+ ``ClusterRegistry.UnregisterAndDisposeCluster()`` method.
64
+ The implementation of the ``IDisposable`` interface is experimental.
62
65
63
66
To learn more about the ``IDisposable`` interface and use of the
64
67
``Dispose()`` method, see
You can’t perform that action at this time.
0 commit comments