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
requestIdintThe request identifier.
responseTointThe response to.
sectionsIEnumerable<CommandMessageSection>The sections.
moreToComeboolif set to
true[more to come].