MessageSender.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 the entity as described by Path. |
SendAsync(IList<Message>) |
Sends a list of messages to the entity as described by Path. When called on partitioned entities, messages meant for different partitions cannot be batched together. |
SendAsync(Message)
- Source:
- MessageSender.cs
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
Public Function SendAsync (message As Message) As Task
Parameters
- message
- Message
Returns
Implements
Applies to
SendAsync(IList<Message>)
- Source:
- MessageSender.cs
Sends a list of messages to the entity as described by Path. 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
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
Returns
Implements
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla