[CSHARP-1946] Edit documentation to clarify the proper way to create a legacy MongoServer instance Created: 17/Mar/17  Updated: 03/Dec/20  Resolved: 03/Dec/20

Status: Closed
Project: C# Driver
Component/s: Documentation
Affects Version/s: 2.0
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-1945 MongoServer instance leaking memory Closed

 Description   

Clarify that the only supported way to create an instance of the legacy MongoServer class is to call client.GetServer().

Modify the doc comments for the MongoServer constructor to indicate:

1. That it should not be called
2. Removed references to static Create methods that are now internal



 Comments   
Comment by Jeffrey Yemin [ 03/Dec/20 ]

I don't think we should spend any time at this point documenting the legacy API.

Generated at Wed Feb 07 21:41:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.