Windows apps
Collapse the table of content
Expand the table of content
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 (current version)

Specifies an enumeration of WebSocket transport usage.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public enum WebSocketTransportUsage

Member nameDescription

Indicates WebSocket transport will always be used.


Indicates WebSocket transport will never be used.


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

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Return to top
© 2017 Microsoft