ISenderClient.SendAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SendAsync(Message) |
Sends a message to Service Bus. |
SendAsync(IList<Message>) |
Sends a list of messages to Service Bus. When called on partitioned entities, messages meant for different partitions cannot be batched together. |
SendAsync(Message)
Sends a message to Service Bus.
public System.Threading.Tasks.Task SendAsync (Microsoft.Azure.ServiceBus.Message message);
abstract member SendAsync : Microsoft.Azure.ServiceBus.Message -> System.Threading.Tasks.Task
Public Function SendAsync (message As Message) As Task
Parameters
- message
- Message
Returns
Applies to
SendAsync(IList<Message>)
Sends a list of messages to Service Bus. When called on partitioned entities, messages meant for different partitions cannot be batched together.
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
Public Function SendAsync (messageList As IList(Of Message)) As Task
Parameters
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET