Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

CloudQueue.UpdateMessage Method

Updated: March 10, 2014

Updates the visibility timeout and optionally the content of a message.

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

[DoesServiceRequestAttribute] 
public void UpdateMessage (
	CloudQueueMessage message,
	TimeSpan visibilityTimeout,
	MessageUpdateFields updateFields,
	[OptionalAttribute] QueueRequestOptions options,
	[OptionalAttribute] OperationContext operationContext
)

Parameters

message

A CloudQueueMessage object.

visibilityTimeout

A TimeSpan specifying the visibility timeout interval.

updateFields

Flags of MessageUpdateFields values that specifies which parts of the message are to be updated.

options

A QueueRequestOptions object that specifies additional options for the request. If null, default options are applied to the request.

operationContext

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

Show:
© 2015 Microsoft