Interface ISenderClient
- Namespace
- Microsoft.Azure.ServiceBus.Core
- Assembly
- Microsoft.Azure.ServiceBus.dll
Interface that defines common send functionality between different clients.
public interface ISenderClient : IClientEntity
- Inherited Members
Methods
CancelScheduledMessageAsync(long)
Cancels a message that was scheduled.
Task CancelScheduledMessageAsync(long sequenceNumber)
Parameters
sequenceNumber
longThe SequenceNumber of the message to be cancelled.
Returns
ScheduleMessageAsync(Message, DateTimeOffset)
Schedules a message to appear on Service Bus.
Task<long> ScheduleMessageAsync(Message message, DateTimeOffset scheduleEnqueueTimeUtc)
Parameters
message
MessagescheduleEnqueueTimeUtc
DateTimeOffsetThe UTC time that the message should be available for processing
Returns
SendAsync(Message)
Sends a message to Service Bus.
Task SendAsync(Message message)
Parameters
message
Message
Returns
SendAsync(IList<Message>)
Sends a list of messages to Service Bus.
Task SendAsync(IList<Message> messageList)