ServiceBusReceivedMessage
public class ServiceBusReceivedMessage
Gets the raw Amqp message data that will be transmitted over the wire. This can be used to enable scenarios that require reading AMQP header, footer, property, or annotation data that is not exposed as top level properties in the ServiceBusMessage.
public Azure.Core.Amqp.AmqpAnnotatedMessage AmqpMessage { get; }
Gets the application properties bag, which can be used for custom message metadata.
public System.Collections.Generic.IReadOnlyDictionary<string,object> ApplicationProperties { get; }
Gets the body of the message.
public Azure.BinaryData Body { get; }
Gets the content type descriptor.
public string ContentType { get; }
String RFC2045 Content-Type descriptor. |
Gets the a correlation identifier.
public string CorrelationId { get; }
String Correlation identifier. |
public string DeadLetterErrorDescription { get; }
public string DeadLetterReason { get; }
Gets the name of the queue or subscription that this message was enqueued on, before it was deadlettered.
public string DeadLetterSource { get; }
Get the current delivery count.
public int DeliveryCount { get; }
Int32 This value starts at 1. |
Gets or sets the original sequence number of the message.
public long EnqueuedSequenceNumber { get; }
Int64 The enqueued sequence number of the message. |
Gets or sets the date and time of the sent time in UTC.
public DateTimeOffset EnqueuedTime { get; }
Gets the date and time in UTC at which the message is set to expire.
public DateTimeOffset ExpiresAt { get; }
DateTimeOffset The message expiration time in UTC. This property is read-only. |
Gets the date and time in UTC until which the message will be locked in the queue/subscription.
public DateTimeOffset LockedUntil { get; }
DateTimeOffset The date and time until which the message will be locked in the queue/subscription. |
Gets the lock token for the current message.
public string LockToken { get; }
Gets the MessageId to identify the message.
public string MessageId { get; }
Gets a partition key for sending a message to a partitioned entity.
public string PartitionKey { get; }
String The partition key. Maximum length is 128 characters. |
Gets the address of an entity to send replies to.
public string ReplyTo { get; }
String The reply entity address. |
Gets a session identifier augmenting the ReplyTo address.
public string ReplyToSessionId { get; }
String Session identifier. Maximum length is 128 characters. |
Gets the date and time in UTC at which the message will be enqueued. This property returns the time in UTC; when setting the property, the supplied DateTime value must also be in UTC.
public DateTimeOffset ScheduledEnqueueTime { get; }
DateTimeOffset The scheduled enqueue time in UTC. This value is for delayed message sending. It is utilized to delay messages sending to a specific time in the future. |
Gets the unique number assigned to a message by Service Bus.
public long SequenceNumber { get; }
Gets the session identifier for a session-aware entity.
public string SessionId { get; }
String The session identifier. Maximum length is 128 characters. |
Gets an application specific label.
public string Subject { get; }
String The application specific label |
Gets the message’s "time to live" value.
public TimeSpan TimeToLive { get; }
TimeSpan The message’s time to live value. |
Gets the "to" address.
public string To { get; }
Gets a partition key for sending a message into an entity via a partitioned transfer queue.
public string ViaPartitionKey { get; }
String The partition key. Maximum length is 128 characters. |
Returns a string that represents the current message.
public override string ToString ();
String The string representation of the current message. |
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY5qmv9KanqKml2Ogpr7VopqeeqWofHh6j2dnZqiimsOqsdZnb2iZoJ58gsbUq5xnhZWowKKzyKeeZ4uVp8Oqr8R7rKxnca%2FCs7GNhpysq5Gctq%2BzjYycq66ZmLKDwdJnip6qpp6wpo7UrImem5Wew6awrJ6qrJmXmnupwMyl