ServiceBusModelFactory.ServiceBusReceivedMessage Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Crea una nueva instancia de ServiceBusReceivedMessage para simular.
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
Parámetros
- 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
Devoluciones
Se aplica a
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for .NET