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

已请求会话。

适用于