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