Click or drag to resize
CommandOperationBaseTCommandResultExecuteProtocol Method
Executes the protocol.

Namespace: MongoDB.Driver.Core.Operations
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax
protected TCommandResult ExecuteProtocol(
	IChannelSource channelSource,
	ReadPreference readPreference,
	CancellationToken cancellationToken
)

Parameters

channelSource
Type: MongoDB.Driver.Core.BindingsIChannelSource
The channel source.
readPreference
Type: MongoDB.DriverReadPreference
The read preference.
cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: TCommandResult
A Task whose result is the command result.
See Also