NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Message.Acknowledgment

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;

Property Value

One of the Acknowledgement values. The default value is None.

Exceptions

Exception Type Condition
InvalidOperationException The message is not an acknowledgment message.

The message queue is filtered not to read the Acknowledgement property.

Remarks

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.

See Also

Message Class | Message Members | System.Messaging Namespace | CorrelationId | PeekById | PeekByCorrelationId | ReceiveById | ReceiveByCorrelationId