BrokeredMessageProperty Class

Definition

Represents the property bag for a BrokeredMessage.

public sealed class BrokeredMessageProperty : System.ServiceModel.Channels.IMessageProperty
Inheritance
BrokeredMessageProperty
Implements

Constructors

BrokeredMessageProperty()

Initializes a new instance of the BrokeredMessageProperty class.

Fields

Name

The name used for applying the property bag to a Message when sending a message.

Properties

ContentType

Gets or sets the type of the content.

CorrelationId

Gets or sets the identifier of the correlation.

DeliveryCount

Gets the number of deliveries that have been made to deliver this message.

EnqueuedTimeUtc

Gets or sets the date and time of the sent time in UTC.

ExpiresAtUtc

Gets the date and time in UTC at which the message is set to expire.

ForcePersistence

Gets or sets whether to force persistence on this property.

Label

Gets or sets the application specific label.

LockedUntilUtc

Gets the date and time in UTC until which the message will be locked in the queue/subscription.

LockToken

Gets the lock token assigned by Service Bus to the message.

Message

Gets the brokered message.

MessageId

Gets or sets the identifier of the message.

PartitionKey

Gets or sets a partition key for sending a transactional message to a queue or topic that is not session-aware.

Properties

Gets the properties of the brokered message.

ReplyTo

Gets or sets the address of the queue to reply to.

ReplyToSessionId

Gets or sets the session identifier to reply to.

ScheduledEnqueueTimeUtc

Gets or sets the date and time in UTC at which the message will be enqueued.

SequenceNumber

Gets the unique number assigned to a message by the Service Bus.

SessionId

Gets or sets the identifier of the session.

TimeToLive

Gets or sets the message’s time to live value. This is the duration after which the message expires, starting from when the message is sent to the Service Bus.Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages.

To

Gets or sets the send to address.

ViaPartitionKey

Gets or sets a partition key value when a transaction is to be used to send messages via a transfer queue.

Explicit Interface Implementations

IMessageProperty.CreateCopy()

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)