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)

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

Property Value

Type: System::String^

The identifier of the message.

Exception Condition
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.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft