CommandResponseHandling Enumeration |
Instructions for handling the response from a command.
Namespace:
MongoDB.Driver.Core.WireProtocol
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax public enum CommandResponseHandling
Public Enumeration CommandResponseHandling
type CommandResponseHandling
Members
| Member name | Value | Description |
---|
| Return | 0 |
Return the response from the server.
|
| Ignore | 1 |
Ignore the response from the server.
|
| NoResponseExpected | 2 |
No response is expected from the server.
|
| ExhaustAllowed | 3 |
Multiple responses might be returned from the server (the ExhaustAllowed flag will be set).
|
See Also