CloudQueue.BeginPeekMessages Methode

Definition

Überlädt

BeginPeekMessages(Int32, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Anzeigen von Nachrichten aus der Warteschlange.

BeginPeekMessages(Int32, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Anzeigen von Nachrichten aus der Warteschlange.

BeginPeekMessages(Int32, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Anzeigen von Nachrichten aus der Warteschlange.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPeekMessages (int messageCount, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginPeekMessages : int * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginPeekMessages : int * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginPeekMessages (messageCount As Integer, options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

messageCount
Int32

Die Anzahl der nachrichten, die angezeigt werden sollen. Die maximale Anzahl von Nachrichten, die gleichzeitig abgerufen werden können, ist 32.

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.

callback
AsyncCallback

Ein AsyncCallback Delegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegat übergeben wird.

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Gilt für:

BeginPeekMessages(Int32, AsyncCallback, Object)

Startet einen asynchronen Vorgang zum Anzeigen von Nachrichten aus der Warteschlange.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginPeekMessages (int messageCount, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginPeekMessages : int * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginPeekMessages : int * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginPeekMessages (messageCount As Integer, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

messageCount
Int32

Die Anzahl der nachrichten, die angezeigt werden sollen. Die maximale Anzahl von Nachrichten, die gleichzeitig abgerufen werden können, ist 32.

callback
AsyncCallback

Ein AsyncCallback Delegat, der nach Abschluss des asynchronen Vorgangs eine Benachrichtigung erhält.

state
Object

Ein benutzerdefiniertes Objekt, das an den Rückrufdelegat übergeben wird.

Gibt zurück

Eine ICancellableAsyncResult , die auf den asynchronen Vorgang verweist.

Attribute

Gilt für: