CloudQueue.BeginUpdateMessage Method

Definition

Overloads

BeginUpdateMessage(CloudQueueMessage, TimeSpan, MessageUpdateFields, AsyncCallback, Object)

Begins an asynchronous operation to update the visibility timeout and optionally the content of a message.

BeginUpdateMessage(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to update the visibility timeout and optionally the content of a message.

BeginUpdateMessage(CloudQueueMessage, TimeSpan, MessageUpdateFields, AsyncCallback, Object)

Begins an asynchronous operation to update the visibility timeout and optionally the content of a message.

[Microsoft.WindowsAzure.Storage.DoesServiceRequest]
public virtual Microsoft.WindowsAzure.Storage.ICancellableAsyncResult BeginUpdateMessage (Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage message, TimeSpan visibilityTimeout, Microsoft.WindowsAzure.Storage.Queue.MessageUpdateFields updateFields, AsyncCallback callback, object state);
abstract member BeginUpdateMessage : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.WindowsAzure.Storage.Queue.MessageUpdateFields * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
override this.BeginUpdateMessage : Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.WindowsAzure.Storage.Queue.MessageUpdateFields * AsyncCallback * obj -> Microsoft.WindowsAzure.Storage.ICancellableAsyncResult
Public Overridable Function BeginUpdateMessage (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

visibilityTimeout
TimeSpan

A TimeSpan specifying the visibility timeout interval.

updateFields
MessageUpdateFields

A set of MessageUpdateFields values that specify which parts of the message are to be updated.

callback
AsyncCallback

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

state
Object

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

Returns

ICancellableAsyncResult

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to

Product Introduced

BeginUpdateMessage(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to update the visibility timeout and optionally the content of a message.

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

Parameters

visibilityTimeout
TimeSpan

A TimeSpan specifying the visibility timeout interval.

updateFields
MessageUpdateFields

A set of MessageUpdateFields values that specify which parts of the message are to be updated.

options
QueueRequestOptions

A QueueRequestOptions object that specifies additional options for the request.

operationContext
OperationContext

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

callback
AsyncCallback

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

state
Object

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

Returns

ICancellableAsyncResult

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to

Product Introduced