MessageId Property
EN
Deze inhoud is niet beschikbaar in uw taal, maar wel in het Engels.

BrokeredMessage.MessageId Property

 

Updated: April 5, 2016

Gets or sets the identifier of the message. This is a user-defined value that Service Bus can use to identify duplicate messages, if enabled.

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.

Exception Condition
ObjectDisposedException

Thrown if the message is in a disposed state.

ArgumentException

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

Return to top
Weergeven:
© 2016 Microsoft