CloudQueueMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應