MsmqBindingElementBase.ExactlyOnce Property

 

Gets or sets a value that specifies whether messages sent with this binding have exactly once assurances.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool ExactlyOnce { get; set; }

Property Value

Type: System.Boolean

true if messages sent with this binding have exactly once assurances; otherwise, false.

ExactlyOnce, when set to true, indicates that Message Queuing (MSMQ) ensures that a sent message is delivered to the receiving message queue once and only once, and, if delivery fails, the message is sent to the dead-letter queue, depending on the DeadLetterQueue property setting. Setting ExactlyOnce to true requires the queue to be transactional.

.NET Framework
Available since 3.0
Return to top
Show: