MessageSender.SendAsync Method

Definition

Overloads

SendAsync(Message)

Sends a message to the entity as described by Path.

SendAsync(IList<Message>)

Sends a list of messages to the entity as described by Path.

SendAsync(Message)

Sends a message to the entity as described by Path.

public System.Threading.Tasks.Task SendAsync (Microsoft.Azure.ServiceBus.Message message);
abstract member SendAsync : Microsoft.Azure.ServiceBus.Message -> System.Threading.Tasks.Task
override this.SendAsync : Microsoft.Azure.ServiceBus.Message -> System.Threading.Tasks.Task

Parameters

message
Message

The Message to send

Returns

System.Threading.Tasks.Task

An asynchronous operation

Implements

Applies to

SendAsync(IList<Message>)

Sends a list of messages to the entity as described by Path.

public System.Threading.Tasks.Task SendAsync (System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message> messageList);
abstract member SendAsync : System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message> -> System.Threading.Tasks.Task
override this.SendAsync : System.Collections.Generic.IList<Microsoft.Azure.ServiceBus.Message> -> System.Threading.Tasks.Task
Public Function SendAsync (messageList As IList(Of Message)) As Task

Parameters

messageList
System.Collections.Generic.IList<Message>

The System.Collections.Generic.IList`1 to send

Returns

System.Threading.Tasks.Task

An asynchronous operation

Implements

Applies to