SALES: 1-800-867-1380

BrokeredMessage.MessageId Property

Gets or sets the identifier of the message.

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

member MessageId : string with get, set

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft