Constructor CommandMessage
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
CommandMessage(int, int, IEnumerable<CommandMessageSection>, bool)
Initializes a new instance of the CommandMessage class.
public CommandMessage(int requestId, int responseTo, IEnumerable<CommandMessageSection> sections, bool moreToCome)Parameters
- requestIdint
- The request identifier. 
- responseToint
- The response to. 
- sectionsIEnumerable<CommandMessageSection>
- The sections. 
- moreToComebool
- if set to - true[more to come].