Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebSocketTransportUsage Enumeration

.NET Framework 4.6 and 4.5

Specifies an enumeration of WebSocket transport usage.

Namespace:  System.ServiceModel.Channels
Assemblies:   System.ServiceModel.Http (in System.ServiceModel.Http.dll)
  System.ServiceModel (in System.ServiceModel.dll)

public enum WebSocketTransportUsage

Member nameDescription
AlwaysIndicates WebSocket transport will always be used.

NeverIndicates WebSocket transport will never be used.

WhenDuplexIndicates WebSocket transport will be used for duplex service contracts only.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft