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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
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