Click or drag to resize

CommandMessage Constructor

Initializes a new instance of the CommandMessage class.

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public CommandMessage(
	int requestId,
	int responseTo,
	IEnumerable<CommandMessageSection> sections,
	bool moreToCome
)

Parameters

requestId
Type: SystemInt32
The request identifier.
responseTo
Type: SystemInt32
The response to.
sections
Type: System.Collections.GenericIEnumerableCommandMessageSection
The sections.
moreToCome
Type: SystemBoolean
if set to true [more to come].
See Also