ServerMessageWebSocketInformation.Protocol 屬性

定義

取得 在 ServerMessageWebSocket 物件上的 WebSocket 交握期間與伺服器交涉的 WebSocket 子通訊協定。

public:
 property Platform::String ^ Protocol { Platform::String ^ get(); };
winrt::hstring Protocol();
public string Protocol { get; }
var string = serverMessageWebSocketInformation.protocol;
Public ReadOnly Property Protocol As String

屬性值

String

Platform::String

winrt::hstring

在 WebSocket 交握期間與伺服器交涉的子通訊協定。

Windows 需求

應用程式功能
internetClientServer privateNetworkClientServer

適用於