QueuesModelFactory.QueueMessage Method
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.
Creates a new QueueMessage instance for mocking.
public static Azure.Storage.Queues.Models.QueueMessage QueueMessage (string messageId, string popReceipt, BinaryData body, long dequeueCount, DateTimeOffset? nextVisibleOn = default, DateTimeOffset? insertedOn = default, DateTimeOffset? expiresOn = default);
static member QueueMessage : string * string * BinaryData * int64 * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Storage.Queues.Models.QueueMessage
Public Shared Function QueueMessage (messageId As String, popReceipt As String, body As BinaryData, dequeueCount As Long, Optional nextVisibleOn As Nullable(Of DateTimeOffset) = Nothing, Optional insertedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing) As QueueMessage
Parameters
- messageId
- String
- popReceipt
- String
- body
- BinaryData
- dequeueCount
- Int64
- nextVisibleOn
- Nullable<DateTimeOffset>
- insertedOn
- Nullable<DateTimeOffset>
- expiresOn
- Nullable<DateTimeOffset>
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET