共用方式為


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

發行者已停止。

適用於

另請參閱