Export (0) Print
Expand All

BrokeredMessage.MessageId Property

Gets or sets the identifier of the message.

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

function get MessageId () : String 
function set MessageId (value : String)

Property Value

Type: System.String
The identifier of the message.

ExceptionCondition
ObjectDisposedException

Thrown if the message is in disposed state.

ArgumentException

Thrown if the message identifier is null or exceeds 128 characters in length.

The identifier of the message can be of any value set by the users.

Community Additions

ADD
Show:
© 2015 Microsoft