[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See
Storage Client Library for the latest version.]
Generates the message request body from a string containing the message.
Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
Visual Basic |
---|
Dim message As String
Dim returnValue As Byte()
returnValue = QueueRequest.GenerateMessageRequestBody(message) |
Syntax
Visual Basic |
---|
Public Shared Function GenerateMessageRequestBody ( _
message As String _
) As Byte() |
C# |
---|
public static byte[] GenerateMessageRequestBody (
string message
) |
C++ |
---|
public:
static array<unsigned char>^ GenerateMessageRequestBody (
String^ message
) |
Parameters
- message
Type: System.String
The content of the message.
Return Value
The message request body as an array of bytes.
Remarks
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