Gets the classification of acknowledgment messages that Message Queuing posts.
[Visual Basic] Overridable Public ReadOnly Property Acknowledgment As _ Acknowledgment [C#] public Acknowledgment Acknowledgment {virtual get;} [C++] public: __property virtual Acknowledgment get_Acknowledgment(); [JScript] public function get Acknowledgment() : Acknowledgment;
One of the Acknowledgement values. The default value is None.
Exception Type | Condition |
---|---|
InvalidOperationException | The message is not an acknowledgment message.
The message queue is filtered not to read the Acknowledgement property. |
A message can be a normal Message Queuing message, a positive or negative (arrival and read) acknowledgment message, or a report message. Typically, this property is set by Message Queuing when it sends the message.
Message Class | Message Members | System.Messaging Namespace | CorrelationId | PeekById | PeekByCorrelationId | ReceiveById | ReceiveByCorrelationId