File: System\ServiceModel\Channels\WebSocketTransportUsage.cs
Project: ndp\cdf\src\WCF\ServiceModel\System.ServiceModel.csproj (System.ServiceModel)
// <copyright>
// Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
 
namespace System.ServiceModel.Channels
{
    public enum WebSocketTransportUsage
    {
        /// <summary>
        /// Indicates WebSocket transport will be used for duplex service contracts only.
        /// </summary>
        WhenDuplex = 0,
 
        /// <summary>
        /// Indicates WebSocket transport will always be used.
        /// </summary>
        Always,
 
        /// <summary>
        /// Indicates WebSocket transport will never be used.
        /// </summary>
        Never
    }
}