WiFiDirectAdvertisementPublisherStatus 枚举

定义

表示 WiFiDirectAdvertisementPublisher 的可能状态。

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

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

发布服务器因错误而中止。

Created 0

发布服务器的初始状态。

Started 1

发布者已启动,并且正在发布广告。

Stopped 2

发布服务器已停止。

适用于

另请参阅