WiFiDirectServiceAdvertisementStatus 枚举

定义

public enum class WiFiDirectServiceAdvertisementStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiDirectServiceAdvertisementStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiDirectServiceAdvertisementStatus
var value = Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertisementStatus.created
Public Enum WiFiDirectServiceAdvertisementStatus
继承
WiFiDirectServiceAdvertisementStatus
属性

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 中引入)

字段

Aborted 3

广告商已中止。 广告商对象的 ServiceError 属性具有描述原因的特定错误代码。

Created 0

广告商已创建。

Started 1

广告商已启动。

Stopped 2

广告商已被停止。

适用于