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.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUpdateMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, TimeSpan visibilityTimeout, Microsoft.Azure.Storage.Queue.MessageUpdateFields updateFields, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginUpdateMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginUpdateMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * AsyncCallback * obj -> Microsoft.Azure.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

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to

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.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginUpdateMessage (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, TimeSpan visibilityTimeout, Microsoft.Azure.Storage.Queue.MessageUpdateFields updateFields, Microsoft.Azure.Storage.Queue.QueueRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginUpdateMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginUpdateMessage : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginUpdateMessage (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields, options As QueueRequestOptions, operationContext As OperationContext, 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.

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

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to