WebSocketTransportUsage 列舉

定義

指定 WebSocket 傳輸使用方式的列舉。Specifies an enumeration of WebSocket transport usage.

public enum class WebSocketTransportUsage
public enum WebSocketTransportUsage
type WebSocketTransportUsage = 
Public Enum WebSocketTransportUsage
繼承
WebSocketTransportUsage

欄位

Always 1

表示永遠會使用 WebSocket 傳輸。Indicates WebSocket transport will always be used.

Never 2

表示永遠不會使用 WebSocket 傳輸。Indicates WebSocket transport will never be used.

WhenDuplex 0

表示 WebSocket 傳輸將只用於雙工服務合約。Indicates WebSocket transport will be used for duplex service contracts only.

適用於