Redigeeri

Jagamisviis:


DefaultPropertiesToSend.AcknowledgeType Property

Definition

Gets or sets the type of acknowledgement message to be returned to the sending application.

public:
 property System::Messaging::AcknowledgeTypes AcknowledgeType { System::Messaging::AcknowledgeTypes get(); void set(System::Messaging::AcknowledgeTypes value); };
[System.Messaging.MessagingDescription("MsgAcknowledgeType")]
public System.Messaging.AcknowledgeTypes AcknowledgeType { get; set; }
[<System.Messaging.MessagingDescription("MsgAcknowledgeType")>]
member this.AcknowledgeType : System.Messaging.AcknowledgeTypes with get, set
Public Property AcknowledgeType As AcknowledgeTypes

Property Value

One of the AcknowledgeTypes enumeration values. This value is used to determine the type of acknowledgment messages the system posts in the administration queue and when acknowledgments are returned to the sending application. The default is AcknowledgeTypes.None.

Attributes

Remarks

The AcknowledgeType property specifies the type of acknowledgment messages to return to the sending application. For example, set the AcknowledgeType property to request notification when a message reaches its destination, when it is retrieved, or whether a time-out has prevented the message from reaching or being retrieved from the destination queue.

Applies to

See also