CloudQueue.BeginAddMessage Methode

Definition

Überlädt

BeginAddMessage(CloudQueueMessage, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um der Warteschlange eine Nachricht hinzuzufügen.

BeginAddMessage(CloudQueueMessage, Nullable<TimeSpan>, Nullable<TimeSpan>, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um der Warteschlange eine Nachricht hinzuzufügen.

BeginAddMessage(CloudQueueMessage, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um der Warteschlange eine Nachricht hinzuzufügen.

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

Parameter

message
CloudQueueMessage

Ein CloudQueueMessage-Objekt.

callback
AsyncCallback

Ein AsyncCallback Delegat, der eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.

state
Object

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

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Attribute

Gilt für:

BeginAddMessage(CloudQueueMessage, Nullable<TimeSpan>, Nullable<TimeSpan>, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um der Warteschlange eine Nachricht hinzuzufügen.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginAddMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, TimeSpan? timeToLive, TimeSpan? initialVisibilityDelay, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginAddMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Nullable<TimeSpan> * Nullable<TimeSpan> * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginAddMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * Nullable<TimeSpan> * Nullable<TimeSpan> * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginAddMessage (message As CloudQueueMessage, timeToLive As Nullable(Of TimeSpan), initialVisibilityDelay As Nullable(Of TimeSpan), options As QueueRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameter

message
CloudQueueMessage

Ein CloudQueueMessage-Objekt.

timeToLive
Nullable<TimeSpan>

Ein TimeSpan , der die maximale Zeit angibt, damit sich die Nachricht in der Warteschlange befindet, oder null.

initialVisibilityDelay
Nullable<TimeSpan>

Ein TimeSpan , der das Zeitintervall angibt, ab dem die Nachricht unsichtbar ist. Bei Festlegung auf null ist die Nachricht sofort sichtbar.

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 eine Benachrichtigung erhält, wenn der asynchrone Vorgang abgeschlossen ist.

state
Object

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

Gibt zurück

Ein ICancellableAsyncResult , der auf den asynchronen Vorgang verweist.

Attribute

Gilt für: