Share via


WiFiDirectServiceAdvertisementStatus Enum

Definition

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
Inheritance
WiFiDirectServiceAdvertisementStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Created 0

Advertiser has been created.

Started 1

Advertiser has been started.

Stopped 2

Advertiser has been stopped.

Aborted 3

Advertiser has been aborted. The advertiser object's ServiceError property has a specific error code describing the reason.

Applies to