ServiceBusModelFactory.ServiceBusReceivedMessage メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
モック作成用の新しい ServiceBusReceivedMessage インスタンスを作成します。
public static Azure.Messaging.ServiceBus.ServiceBusReceivedMessage ServiceBusReceivedMessage (BinaryData body = default, string messageId = default, string partitionKey = default, string viaPartitionKey = default, string sessionId = default, string replyToSessionId = default, TimeSpan timeToLive = default, string correlationId = default, string subject = default, string to = default, string contentType = default, string replyTo = default, DateTimeOffset scheduledEnqueueTime = default, System.Collections.Generic.IDictionary<string,object> properties = default, Guid lockTokenGuid = default, int deliveryCount = 0, DateTimeOffset lockedUntil = default, long sequenceNumber = -1, string deadLetterSource = default, long enqueuedSequenceNumber = 0, DateTimeOffset enqueuedTime = default, Azure.Messaging.ServiceBus.ServiceBusMessageState serviceBusMessageState = Azure.Messaging.ServiceBus.ServiceBusMessageState.Active);
static member ServiceBusReceivedMessage : BinaryData * string * string * string * string * string * TimeSpan * string * string * string * string * string * DateTimeOffset * System.Collections.Generic.IDictionary<string, obj> * Guid * int * DateTimeOffset * int64 * string * int64 * DateTimeOffset * Azure.Messaging.ServiceBus.ServiceBusMessageState -> Azure.Messaging.ServiceBus.ServiceBusReceivedMessage
Public Shared Function ServiceBusReceivedMessage (Optional body As BinaryData = Nothing, Optional messageId As String = Nothing, Optional partitionKey As String = Nothing, Optional viaPartitionKey As String = Nothing, Optional sessionId As String = Nothing, Optional replyToSessionId As String = Nothing, Optional timeToLive As TimeSpan = Nothing, Optional correlationId As String = Nothing, Optional subject As String = Nothing, Optional to As String = Nothing, Optional contentType As String = Nothing, Optional replyTo As String = Nothing, Optional scheduledEnqueueTime As DateTimeOffset = Nothing, Optional properties As IDictionary(Of String, Object) = Nothing, Optional lockTokenGuid As Guid = Nothing, Optional deliveryCount As Integer = 0, Optional lockedUntil As DateTimeOffset = Nothing, Optional sequenceNumber As Long = -1, Optional deadLetterSource As String = Nothing, Optional enqueuedSequenceNumber As Long = 0, Optional enqueuedTime As DateTimeOffset = Nothing, Optional serviceBusMessageState As ServiceBusMessageState = Azure.Messaging.ServiceBus.ServiceBusMessageState.Active) As ServiceBusReceivedMessage
パラメーター
- body
- BinaryData
- messageId
- String
- partitionKey
- String
- viaPartitionKey
- String
- sessionId
- String
- replyToSessionId
- String
- timeToLive
- TimeSpan
- correlationId
- String
- subject
- String
- to
- String
- contentType
- String
- replyTo
- String
- scheduledEnqueueTime
- DateTimeOffset
- properties
- IDictionary<String,Object>
- lockTokenGuid
- Guid
- deliveryCount
- Int32
- lockedUntil
- DateTimeOffset
- sequenceNumber
- Int64
- deadLetterSource
- String
- enqueuedSequenceNumber
- Int64
- enqueuedTime
- DateTimeOffset
- serviceBusMessageState
- ServiceBusMessageState
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET