[CSHARP-1100] Remove Command and ServerInstance from CommandResult Created: 10/Nov/14  Updated: 02/Apr/15  Resolved: 10/Nov/14

Status: Closed
Project: C# Driver
Component/s: Operations
Affects Version/s: 1.9.2
Fix Version/s: 1.10, 2.0

Type: Task Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Minor Change

 Description   

In 1.9.2 the CommandResult class includes the following two properties:

Command: reports the actual command sent to the server
ServerInstance: reports the server instance the command was sent to

In 2.0 it is very difficult to provide these values because the new Core architecture effectively hides this information.

So we will deprecate these properties in 1.10 and remove them in 2.0.



 Comments   
Comment by Githook User [ 10/Nov/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1100: Remove Command and ServerInstance properties from CommandResult.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/00c004b48ebbb3682cdd3a73854efd351f0f9682

Comment by Githook User [ 10/Nov/14 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1100: Deprecate Command and ServerInstance in CommandResult.
Branch: v1.x
https://github.com/mongodb/mongo-csharp-driver/commit/e17c16190add6f36540a162c5bc48094d278b8a4

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