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)

public:
property String^ MessageId {
	String^ get ();
	void set (String^ value);
}

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:
© 2014 Microsoft