Adds a message to the queue.
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 returnValue As IAsyncAction
returnValue = instance.AddMessageAsync(message) |
Syntax
Visual Basic |
---|
Public Function AddMessageAsync ( _
message As CloudQueueMessage _
) As IAsyncAction |
C# |
---|
public IAsyncAction AddMessageAsync (
CloudQueueMessage message
) |
C++ |
---|
public:
IAsyncAction^ AddMessageAsync (
CloudQueueMessage^ message
) |
J# |
---|
public IAsyncAction AddMessageAsync (
CloudQueueMessage message
) |
JScript |
---|
public function AddMessageAsync (
message : CloudQueueMessage
) : IAsyncAction |
Parameters
- message
The message to add.
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