Table of Contents

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

requestId int

The request identifier.

responseTo int

The response to.

sections IEnumerable<CommandMessageSection>

The sections.

moreToCome bool

if set to true [more to come].