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.

Exception Condition

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
Available since 1.1
Return to top