Redigera

Dela via


MessageQueueInstaller.Authenticate Property

Definition

Gets or sets a value that indicates whether the queue to be installed accepts only authenticated messages.

public:
 property bool Authenticate { bool get(); void set(bool value); };
public bool Authenticate { get; set; }
member this.Authenticate : bool with get, set
Public Property Authenticate As Boolean

Property Value

true if the queue accepts only authenticated messages; otherwise, false. The default is false.

Remarks

When a non-authenticated message is sent to a queue that accepts only authenticated messages, the message is rejected. The sending application can request notification of a message rejection by setting the AcknowledgeType for the message. Otherwise, there is no indication that the message was rejected, so the message can be lost unless you send it to the dead-letter queue.

Applies to