แก้ไข

แชร์ผ่าน


Message.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; }
[<System.Messaging.MessagingDescription("MsgAppSpecific")>]
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.

Attributes

Exceptions

The message queue is filtered to ignore the AppSpecific property.

Remarks

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