共用方式為


WiFiDirectServiceSessionStatus 列舉

定義

用來描述 Wi-Fi 直接服務會話狀態的值。

public enum class WiFiDirectServiceSessionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectServiceSessionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectServiceSessionStatus
var value = Windows.Devices.WiFiDirect.Services.WiFiDirectServiceSessionStatus.closed
Public Enum WiFiDirectServiceSessionStatus
繼承
WiFiDirectServiceSessionStatus
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

欄位

Closed 0

會話已關閉。

Initiated 1

會話已起始。

Open 3

會話已開啟。

Requested 2

已要求會話。

適用於