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.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
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