SALES: 1-800-867-1380
0 out of 1 rated this helpful - Rate this topic

BrokeredMessage.MessageId Property

Gets or sets the identifier of the message.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public string MessageId { 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.