2
0

ReceiveErrorHandling.cs 693 B

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