DeliveryRequirementsAttribute::QueuedDeliveryRequirements Property
.NET Framework (current version)
Specifies whether the binding for a service must support queued contracts.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property QueuedDeliveryRequirementsMode QueuedDeliveryRequirements { QueuedDeliveryRequirementsMode get(); void set(QueuedDeliveryRequirementsMode value); }
Property Value
Type: System.ServiceModel::QueuedDeliveryRequirementsModeOne of the QueuedDeliveryRequirementsMode values; the default is Allowed.
| Exception | Condition |
|---|---|
| ArgumentException | The value is not one of the QueuedDeliveryRequirementsMode values. |
The Required instructs WCF to confirm that the binding supports queued delivery. The NotAllowed value instructs WCF to confirm that the binding does not support queued delivery.
The following code example uses the DeliveryRequirementsAttribute attribute to instruct WCF to confirm at runtime that the actual binding does not support queued contracts but does support ordered messages.
.NET Framework
Available since 3.0
Available since 3.0
Show: