MsmqMessage<T>.AcknowledgeType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the AcknowledgeTypes that is associated with this message.
public:
property Nullable<System::Messaging::AcknowledgeTypes> AcknowledgeType { Nullable<System::Messaging::AcknowledgeTypes> get(); void set(Nullable<System::Messaging::AcknowledgeTypes> value); };
public System.Messaging.AcknowledgeTypes? AcknowledgeType { get; set; }
member this.AcknowledgeType : Nullable<System.Messaging.AcknowledgeTypes> with get, set
Public Property AcknowledgeType As Nullable(Of AcknowledgeTypes)
Property Value
The AcknowledgeTypes that is associated with this message. May be null
.
Examples
message.AcknowledgeType = AcknowledgeTypes.PositiveArrival;
message.AcknowledgeType = AcknowledgeTypes.PositiveArrival
Remarks
This property specifies the type of acknowledgment messages that are requested by the sending application. The application can use this property to request notification of certain events. For example, the application might want to be notified when the message reaches its destination queue, when the message is retrieved, or if the message times out before it reaches its destination queue or is retrieved. For member details, see AcknowledgeTypes.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應