WebSocketTransportUsage WebSocketTransportUsage WebSocketTransportUsage WebSocketTransportUsage Enum

定义

指定 WebSocket 传输用法的枚举。Specifies an enumeration of WebSocket transport usage.

public enum class WebSocketTransportUsage
public enum WebSocketTransportUsage
type WebSocketTransportUsage = 
Public Enum WebSocketTransportUsage
继承
WebSocketTransportUsageWebSocketTransportUsageWebSocketTransportUsageWebSocketTransportUsage

字段

Always Always Always Always 1

指示始终使用 WebSocket 传输。Indicates WebSocket transport will always be used.

Never Never Never Never 2

指示从不使用 WebSocket 传输。Indicates WebSocket transport will never be used.

WhenDuplex WhenDuplex WhenDuplex WhenDuplex 0

指示仅对双工服务协定使用 WebSocket 传输。Indicates WebSocket transport will be used for duplex service contracts only.

适用于