Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property bool ExactlyOnce {
	bool get();
	void set(bool value);
}

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:
© 2017 Microsoft