WebSocketTransportUsage.cs 598 B

123456789101112131415161718192021222324
  1. // <copyright>
  2. // Copyright (c) Microsoft Corporation. All rights reserved.
  3. // </copyright>
  4. namespace System.ServiceModel.Channels
  5. {
  6. public enum WebSocketTransportUsage
  7. {
  8. /// <summary>
  9. /// Indicates WebSocket transport will be used for duplex service contracts only.
  10. /// </summary>
  11. WhenDuplex = 0,
  12. /// <summary>
  13. /// Indicates WebSocket transport will always be used.
  14. /// </summary>
  15. Always,
  16. /// <summary>
  17. /// Indicates WebSocket transport will never be used.
  18. /// </summary>
  19. Never
  20. }
  21. }