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