CommandOperationBaseTCommandResultExecuteProtocol Method (IChannelSource, ICoreSessionHandle, ReadPreference, CancellationToken) |
Executes the protocol.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntaxprotected TCommandResult ExecuteProtocol(
IChannelSource channelSource,
ICoreSessionHandle session,
ReadPreference readPreference,
CancellationToken cancellationToken
)
Protected Function ExecuteProtocol (
channelSource As IChannelSource,
session As ICoreSessionHandle,
readPreference As ReadPreference,
cancellationToken As CancellationToken
) As TCommandResult
member ExecuteProtocol :
channelSource : IChannelSource *
session : ICoreSessionHandle *
readPreference : ReadPreference *
cancellationToken : CancellationToken -> 'TCommandResult
Parameters
- channelSource
- Type: MongoDB.Driver.Core.BindingsIChannelSource
The channel source. - session
- Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session. - 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