CloudQueue.UpdateMessageAsync Method

Definition

Overloads

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext)

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

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext, CancellationToken)

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

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields)

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

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, CancellationToken)

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

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UpdateMessageAsync (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);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function UpdateMessageAsync (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields, options As QueueRequestOptions, operationContext As OperationContext) As Task

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.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, QueueRequestOptions, OperationContext, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UpdateMessageAsync (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, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * Microsoft.Azure.Storage.Queue.QueueRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UpdateMessageAsync (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields, options As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

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.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UpdateMessageAsync (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, TimeSpan visibilityTimeout, Microsoft.Azure.Storage.Queue.MessageUpdateFields updateFields);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields -> System.Threading.Tasks.Task
override this.UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields -> System.Threading.Tasks.Task
Public Overridable Function UpdateMessageAsync (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields) As Task

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.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to

UpdateMessageAsync(CloudQueueMessage, TimeSpan, MessageUpdateFields, CancellationToken)

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

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task UpdateMessageAsync (Microsoft.Azure.Storage.Queue.CloudQueueMessage message, TimeSpan visibilityTimeout, Microsoft.Azure.Storage.Queue.MessageUpdateFields updateFields, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.UpdateMessageAsync : Microsoft.Azure.Storage.Queue.CloudQueueMessage * TimeSpan * Microsoft.Azure.Storage.Queue.MessageUpdateFields * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function UpdateMessageAsync (message As CloudQueueMessage, visibilityTimeout As TimeSpan, updateFields As MessageUpdateFields, cancellationToken As CancellationToken) As Task

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.

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for a task to complete.

Returns

A Task object that represents the asynchronous operation.

Attributes

Applies to