1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace System.ServiceModel
{
public enum ReceiveErrorHandling
{
Fault,
Drop,
Reject,
Move
}
static class ReceiveErrorHandlingHelper
{
internal static bool IsDefined(ReceiveErrorHandling value)
{
return value == ReceiveErrorHandling.Fault ||
value == ReceiveErrorHandling.Drop ||
value == ReceiveErrorHandling.Reject ||
value == ReceiveErrorHandling.Move;
}
}
}
|