Table of Contents

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 MessageEncoderSettings

The message encoder settings.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

A Task.