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.7.3+Branch.v2.7.x.Sha.2f1f2be13a23b8520cb9c2ee8439c022f9a03efe
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