Bus Received Message Class
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.
public class ServiceBusReceivedMessage
type ServiceBusReceivedMessage = class
Public Class ServiceBusReceivedMessage
The message structure is discussed in detail in the product documentation.
Gets the application properties bag, which can be used for custom message metadata.
Gets the body of the message.
Gets the content type descriptor.
Gets the correlation identifier.
Gets the dead letter error description for the message.
Gets the dead letter reason for the message.
Gets the name of the queue or subscription that this message was enqueued on, before it was dead-lettered.
Get the current delivery count.
Gets the original sequence number of the message.
Gets the date and time of the sent time in UTC.
Gets the date and time in UTC at which the message is set to expire.
Gets the date and time in UTC until which the message will be locked in the queue/subscription.
Gets the lock token for the current message.
Gets the MessageId to identify the message.
Gets a partition key for sending a message to a partitioned entity.
Gets the address of an entity to send replies to.
Gets a session identifier augmenting the ReplyTo address.
Gets or sets the date and time, in UTC, at which the message should be made available to receivers. This property does not control when a message is sent by the
client. Sending happens immediately when
Gets the unique number assigned to a message by Service Bus.
Gets the session identifier for a session-aware entity.
Gets the state of the message.
Gets an application specific label.
Gets the message’s "time to live" value.
Gets the "to" address.
Gets a partition key for sending a message into an entity via a partitioned transfer queue.
Constructs a ServiceBusReceivedMessage from its serialized AMQP form.
Gets the raw Amqp message data that was 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 ServiceBusReceivedMessage.
Returns a string that represents the current message.