MsmqAuthenticationMode.cs 578 B

1234567891011121314151617181920
  1. //------------------------------------------------------------
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. //------------------------------------------------------------
  4. namespace System.ServiceModel
  5. {
  6. public enum MsmqAuthenticationMode
  7. {
  8. None,
  9. WindowsDomain,
  10. Certificate,
  11. }
  12. static class MsmqAuthenticationModeHelper
  13. {
  14. public static bool IsDefined(MsmqAuthenticationMode mode)
  15. {
  16. return mode >= MsmqAuthenticationMode.None && mode <= MsmqAuthenticationMode.Certificate;
  17. }
  18. }
  19. }