編輯

共用方式為


WebSocketTransportUsage Enum

Definition

Specifies an enumeration of WebSocket transport usage.

public enum class WebSocketTransportUsage
public enum WebSocketTransportUsage
type WebSocketTransportUsage = 
Public Enum WebSocketTransportUsage
Inheritance
WebSocketTransportUsage

Fields

Name Value Description
WhenDuplex 0

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

Always 1

Indicates WebSocket transport will always be used.

Never 2

Indicates WebSocket transport will never be used.

Applies to