25 lines
729 B
C#
25 lines
729 B
C#
|
//------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//------------------------------------------------------------
|
||
|
namespace System.ServiceModel
|
||
|
{
|
||
|
public enum QueuedDeliveryRequirementsMode
|
||
|
{
|
||
|
Allowed,
|
||
|
Required,
|
||
|
NotAllowed,
|
||
|
}
|
||
|
|
||
|
static class QueuedDeliveryRequirementsModeHelper
|
||
|
{
|
||
|
static public bool IsDefined(QueuedDeliveryRequirementsMode x)
|
||
|
{
|
||
|
return
|
||
|
x == QueuedDeliveryRequirementsMode.Allowed ||
|
||
|
x == QueuedDeliveryRequirementsMode.Required ||
|
||
|
x == QueuedDeliveryRequirementsMode.NotAllowed ||
|
||
|
false;
|
||
|
}
|
||
|
}
|
||
|
}
|