DefaultPropertiesToSend.AppSpecific DefaultPropertiesToSend.AppSpecific DefaultPropertiesToSend.AppSpecific DefaultPropertiesToSend.AppSpecific Property

Definition

Gets or sets additional, application-specific information.

public:
 property int AppSpecific { int get(); void set(int value); };
[System.Messaging.MessagingDescription("MsgAppSpecific")]
public int AppSpecific { get; set; }
member this.AppSpecific : int with get, set
Public Property AppSpecific As Integer

Property Value

Information specific to the application. The default is 0.

Remarks

The AppSpecific property contains additional, application-specific information that can be used to organize different types of messages, for example, using application-specific indexes. It is the responsibility of the application to interpret AppSpecific information.

Where possible, message data should be included in the body of the message rather than in the AppSpecific property.

When working with foreign queues, use the Extension property to specify non-Message Queuing message properties. As with AppSpecific, it is the responsibility of the application to understand the content of the Extension property.

Applies to

See also