Sdílet prostřednictvím


CloudQueueMessage Constructors

Definition

Overloads

CloudQueueMessage(Byte[])

Initializes a new instance of the CloudQueueMessage class with the given byte array.

CloudQueueMessage(String, Boolean)

Initializes a new instance of the CloudQueueMessage class with the given Base64 encoded string. This method is only used internally.

CloudQueueMessage(String, String)

Initializes a new instance of the CloudQueueMessage class with the given message ID and pop receipt.

CloudQueueMessage(Byte[])

Initializes a new instance of the CloudQueueMessage class with the given byte array.

public CloudQueueMessage (byte[] content);
new Microsoft.Azure.Storage.Queue.CloudQueueMessage : byte[] -> Microsoft.Azure.Storage.Queue.CloudQueueMessage
Public Sub New (content As Byte())

Parameters

content
Byte[]

The content of the message as a byte array.

Applies to

CloudQueueMessage(String, Boolean)

Initializes a new instance of the CloudQueueMessage class with the given Base64 encoded string. This method is only used internally.

public CloudQueueMessage (string content, bool isBase64Encoded = false);
new Microsoft.Azure.Storage.Queue.CloudQueueMessage : string * bool -> Microsoft.Azure.Storage.Queue.CloudQueueMessage
Public Sub New (content As String, Optional isBase64Encoded As Boolean = false)

Parameters

content
String

The text string.

isBase64Encoded
Boolean

Whether the string is Base64 encoded.

Applies to

CloudQueueMessage(String, String)

Initializes a new instance of the CloudQueueMessage class with the given message ID and pop receipt.

public CloudQueueMessage (string messageId, string popReceipt);
new Microsoft.Azure.Storage.Queue.CloudQueueMessage : string * string -> Microsoft.Azure.Storage.Queue.CloudQueueMessage
Public Sub New (messageId As String, popReceipt As String)

Parameters

messageId
String

A string specifying the message ID.

popReceipt
String

A string containing the pop receipt token.

Applies to