CloudQueue.PeekMessageAsync Methode

Definition

Überlädt

PeekMessageAsync()

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

PeekMessageAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

PeekMessageAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

PeekMessageAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

PeekMessageAsync()

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage> PeekMessageAsync ();
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member PeekMessageAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
override this.PeekMessageAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
Public Overridable Function PeekMessageAsync () As Task(Of CloudQueueMessage)

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudQueueMessage, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

PeekMessageAsync(CancellationToken)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage> PeekMessageAsync (System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member PeekMessageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
override this.PeekMessageAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
Public Overridable Function PeekMessageAsync (cancellationToken As CancellationToken) As Task(Of CloudQueueMessage)

Parameter

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudQueueMessage, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

PeekMessageAsync(QueueRequestOptions, OperationContext)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage> PeekMessageAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member PeekMessageAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
override this.PeekMessageAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
Public Overridable Function PeekMessageAsync (options As QueueRequestOptions, operationContext As OperationContext) As Task(Of CloudQueueMessage)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudQueueMessage, das den asynchronen Vorgang darstellt.

Attribute

Gilt für:

PeekMessageAsync(QueueRequestOptions, OperationContext, CancellationToken)

Initiiert einen asynchronen Vorgang, um eine einzelne Nachricht aus der Warteschlange abzurufen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage> PeekMessageAsync (Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member PeekMessageAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
override this.PeekMessageAsync : Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.Queue.CloudQueueMessage>
Public Overridable Function PeekMessageAsync (options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of CloudQueueMessage)

Parameter

options
QueueRequestOptions

Ein QueueRequestOptions-Objekt, das zusätzliche Optionen für die Anforderung angibt.

operationContext
OperationContext

Ein OperationContext-Objekt, das den Kontext für den aktuellen Vorgang darstellt.

cancellationToken
CancellationToken

Ein CancellationToken, das beim Warten auf den Abschluss einer Aufgabe überwacht werden soll.

Gibt zurück

Ein Task<TResult>-Objekt vom Typ CloudQueueMessage, das den asynchronen Vorgang darstellt.

Attribute

Gilt für: