Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Message.AppSpecific Property

Gets or sets additional, application-specific information.

Namespace:  System.Messaging
Assembly:  System.Messaging (in System.Messaging.dll)

public int AppSpecific { get; set; }

Property Value

Type: System.Int32
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft