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)

[MessagingDescriptionAttribute("MsgAppSpecific")]
public int AppSpecific { get; set; }

Property Value

Type: System.Int32
Information that is specific to the application. The default is zero.

ExceptionCondition
InvalidOperationException

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, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft