CloudQueue.BeginPeekMessage CloudQueue.BeginPeekMessage CloudQueue.BeginPeekMessage Method

Definition

Overloads

BeginPeekMessage(QueueRequestOptions, OperationContext, AsyncCallback, Object) BeginPeekMessage(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to peek a single message from the queue.

BeginPeekMessage(AsyncCallback, Object) BeginPeekMessage(AsyncCallback, Object) BeginPeekMessage(AsyncCallback, Object)

Begins an asynchronous operation to get a single message from the queue.

BeginPeekMessage(QueueRequestOptions, OperationContext, AsyncCallback, Object) BeginPeekMessage(QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to peek a single message from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginPeekMessage (Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
abstract member BeginPeekMessage : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginPeekMessage : Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult

Parameters

options
QueueRequestOptions QueueRequestOptions QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

BeginPeekMessage(AsyncCallback, Object) BeginPeekMessage(AsyncCallback, Object) BeginPeekMessage(AsyncCallback, Object)

Begins an asynchronous operation to get a single message from the queue.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginPeekMessage (AsyncCallback callback, object state);
abstract member BeginPeekMessage : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginPeekMessage : AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Public Overridable Function BeginPeekMessage (callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

callback
AsyncCallback AsyncCallback AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object Object Object

A user-defined object that will be passed to the callback delegate.

Returns

Applies to