MqClient.SendAsync(SendValidDataOptions, CancellationToken) 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.
Send message (v2)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.SendResponse> SendAsync(Azure.Connectors.Sdk.Mq.Models.SendValidDataOptions input, System.Threading.CancellationToken cancellationToken = default);
abstract member SendAsync : Azure.Connectors.Sdk.Mq.Models.SendValidDataOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.SendResponse>
override this.SendAsync : Azure.Connectors.Sdk.Mq.Models.SendValidDataOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.SendResponse>
Public Overridable Function SendAsync (input As SendValidDataOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SendResponse)
Parameters
- input
- SendValidDataOptions
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Send message (v2) response.
Remarks
Send a message to a queue.