MqClient.DeleteAsync(SingleGetValidOptions, 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.
Delete message (v2)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.Item> DeleteAsync(Azure.Connectors.Sdk.Mq.Models.SingleGetValidOptions input, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : Azure.Connectors.Sdk.Mq.Models.SingleGetValidOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.Item>
override this.DeleteAsync : Azure.Connectors.Sdk.Mq.Models.SingleGetValidOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Mq.Models.Item>
Public Overridable Function DeleteAsync (input As SingleGetValidOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Item)
Parameters
- input
- SingleGetValidOptions
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Delete message (v2) response.
Remarks
Deletes one message from the queue, by doing a destructive get.