Storage Client Library for Windows Phone (Version 7.0)

Microsoft Windows Azure Storage Blob

CloudQueue.BeginGetMessages Method (Int32, Nullable(TimeSpan), QueueRequestOptions, OperationContext, AsyncCallback, Object) (Microsoft.WindowsAzure.Storage.Queue)

Begins an asynchronous operation to get the specified number of messages from the queue using the specified request options and operation context. This operation marks the retrieved messages as invisible in the queue for the default visibility timeout period.

Namespace:   Microsoft.WindowsAzure.Storage.Queue
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

 
[DoesServiceRequestAttribute]
public virtual ICancellableAsyncResult BeginGetMessages(
	int messageCount,
	Nullable<TimeSpan> visibilityTimeout,
	QueueRequestOptions options,
	OperationContext operationContext,
	AsyncCallback callback,
	object state
)
 
public:
[DoesServiceRequestAttribute]
virtual ICancellableAsyncResult^ BeginGetMessages(
	int messageCount,
	Nullable<TimeSpan> visibilityTimeout,
	QueueRequestOptions^ options,
	OperationContext^ operationContext,
	AsyncCallback^ callback,
	Object^ state
)
 
[<DoesServiceRequestAttribute>]
abstract BeginGetMessages : 
        messageCount:int *
        visibilityTimeout:Nullable<TimeSpan> *
        options:QueueRequestOptions *
        operationContext:OperationContext *
        callback:AsyncCallback *
        state:Object -> ICancellableAsyncResult
[<DoesServiceRequestAttribute>]
override BeginGetMessages : 
        messageCount:int *
        visibilityTimeout:Nullable<TimeSpan> *
        options:QueueRequestOptions *
        operationContext:OperationContext *
        callback:AsyncCallback *
        state:Object -> ICancellableAsyncResult
 
<DoesServiceRequestAttribute>
Public Overridable Function BeginGetMessages (
	messageCount As Integer,
	visibilityTimeout As Nullable(Of TimeSpan),
	options As QueueRequestOptions,
	operationContext As OperationContext,
	callback As AsyncCallback,
	state As Object
) As ICancellableAsyncResult
Return to top