Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BrokeredMessageProperty Class
Collapse the table of content
Expand the table of content

BrokeredMessageProperty Class

 

Represents the property bag for a BrokeredMessage.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

System.Object
  Microsoft.ServiceBus.Messaging.BrokeredMessageProperty

public sealed class BrokeredMessageProperty : IMessageProperty

NameDescription
System_CAPS_pubmethodBrokeredMessageProperty()

Initializes a new instance of the BrokeredMessageProperty class.

NameDescription
System_CAPS_pubpropertyContentType

Gets or sets the type of the content.

System_CAPS_pubpropertyCorrelationId

Gets or sets the identifier of the correlation.

System_CAPS_pubpropertyDeliveryCount

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

System_CAPS_pubpropertyEnqueuedTimeUtc

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

System_CAPS_pubpropertyExpiresAtUtc

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

System_CAPS_pubpropertyForcePersistence

Gets or sets whether to force persistence on this property.

System_CAPS_pubpropertyLabel

Gets or sets the application specific label.

System_CAPS_pubpropertyLockedUntilUtc

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

System_CAPS_pubpropertyLockToken

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

System_CAPS_pubpropertyMessage

Gets the brokered message.

System_CAPS_pubpropertyMessageId

Gets or sets the identifier of the message.

System_CAPS_pubpropertyPartitionKey

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

System_CAPS_pubpropertyProperties

Gets the properties of the brokered message.

System_CAPS_pubpropertyReplyTo

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

System_CAPS_pubpropertyReplyToSessionId

Gets or sets the session identifier to reply to.

System_CAPS_pubpropertyScheduledEnqueueTimeUtc

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

System_CAPS_pubpropertySequenceNumber

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

System_CAPS_pubpropertySessionId

Gets or sets the identifier of the session.

System_CAPS_pubpropertyTimeToLive

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.

System_CAPS_pubpropertyTo

Gets or sets the send to address.

System_CAPS_pubpropertyViaPartitionKey

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticName

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

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIMessageProperty.CreateCopy()

Creates a copy of the current instance of brokered message.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2015 Microsoft