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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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