SendAsync Method
Definition
- Namespace
- Savvyio.Extensions.SimpleQueueService.Commands
- Assemblies
- Savvyio.Extensions.SimpleQueueService.dll
SendAsync(IEnumerable<IMessage<ICommand>>, Action<AsyncOptions>)
Sends the specified messages whose generic type argument is ICommand asynchronous using Point-to-Point Channel/P2P MEP.
public override Task SendAsync(IEnumerable<IMessage<ICommand>> messages, Action<AsyncOptions> setup = null)
Parameters
messagesIEnumerable<IMessage<ICommand>>The ICommand enclosed messages to send.
setupAction<AsyncOptions>The AsyncOptions which may be configured.
Returns
- Task
A task that represents the asynchronous operation.
Exceptions
- ArgumentNullException
messagescannot be null.