Method SendMessages
- Namespace
- MongoDB.Driver.Core.Connections
- Assembly
- MongoDB.Driver.Core.dll
SendMessages(IEnumerable<RequestMessage>, MessageEncoderSettings, CancellationToken)
Sends the messages.
void SendMessages(IEnumerable<RequestMessage> messages, MessageEncoderSettings messageEncoderSettings, CancellationToken cancellationToken)
Parameters
messages
IEnumerable<RequestMessage>The messages.
messageEncoderSettings
MessageEncoderSettingsThe message encoder settings.
cancellationToken
CancellationTokenThe cancellation token.