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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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