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.AcknowledgeType

Gets or sets the type of acknowledgment message that Message Queuing posts when a message arrives in the queue.

[Visual Basic]
Overridable Public Property AcknowledgeType As AcknowledgeType
[C#]
public AcknowledgeType AcknowledgeType {virtual get; virtual set;}
[C++]
public: __property virtual AcknowledgeType get_AcknowledgeType();
public: __property virtual void set_AcknowledgeType(AcknowledgeType);
[JScript]
public function get AcknowledgeType() : AcknowledgeType;
public function set AcknowledgeType(AcknowledgeType);

Property Value

One of the AcknowledgeType values, which represents the type of acknowledgment messages the system posts in the administration queue and when acknowledgments are returned to the sending application. The default is None.

Exceptions

Exception Type Condition
InvalidOperationException The message is not set to receive an AcknowledgeType. The AcknowledgeType may be set to None.

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.

AcknowledgeType provides access to the Ack property of the Message Queuing MSMQMessage object.

See Also

Message Class | Message Members | System.Messaging Namespace