Message.AppSpecific Property


Gets or sets additional, application-specific information.

 property int AppSpecific { int get(); void set(int value); };
public int AppSpecific { get; set; }
member this.AppSpecific : int with get, set
Public Property AppSpecific As Integer

Property Value


Information that is specific to the application. The default is zero.



The message queue is filtered to ignore the AppSpecific property.


The AppSpecific property contains application-specific information that you can use to organize different types of messages. For example, you can use application-specific indexes. It is the responsibility of the application to interpret AppSpecific property information.

Whenever possible, you should include message data in the body of the message rather than the AppSpecific property.

When working with foreign queues, use the Extension property to specify message properties that do not exist in Message Queuing. As with the AppSpecific property, it is the responsibility of the application to understand the content of the Extension property.

Applies to

See also