Updates a message.
Namespace: Microsoft.WindowsAzure.Storage.Queue
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudQueue
Dim message As CloudQueueMessage
Dim visibilityTimeout As TimeSpan
Dim updateFields As MessageUpdateFields
Dim returnValue As IAsyncAction
returnValue = instance.UpdateMessageAsync(message, visibilityTimeout, updateFields) |
Syntax
Visual Basic |
---|
Public Function UpdateMessageAsync ( _
message As CloudQueueMessage, _
visibilityTimeout As TimeSpan, _
updateFields As MessageUpdateFields _
) As IAsyncAction |
C# |
---|
public IAsyncAction UpdateMessageAsync (
CloudQueueMessage message,
TimeSpan visibilityTimeout,
MessageUpdateFields updateFields
) |
C++ |
---|
public:
IAsyncAction^ UpdateMessageAsync (
CloudQueueMessage^ message,
TimeSpan visibilityTimeout,
MessageUpdateFields updateFields
) |
J# |
---|
public IAsyncAction UpdateMessageAsync (
CloudQueueMessage message,
TimeSpan visibilityTimeout,
MessageUpdateFields updateFields
) |
JScript |
---|
public function UpdateMessageAsync (
message : CloudQueueMessage,
visibilityTimeout : TimeSpan,
updateFields : MessageUpdateFields
) : IAsyncAction |
Parameters
- message
The message to update.
- visibilityTimeout
The visibility timeout interval.
- updateFields
The message update fields.
Return Value
An
IAsyncAction that represents an asynchronous action.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also