WiFiDirectAdvertisementPublisherStatusChangedEventArgs 类

定义

WiFiDirectAdvertisementPublisher 上的 StatusChanged 事件提供数据。

public ref class WiFiDirectAdvertisementPublisherStatusChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WiFiDirectAdvertisementPublisherStatusChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WiFiDirectAdvertisementPublisherStatusChangedEventArgs
Public NotInheritable Class WiFiDirectAdvertisementPublisherStatusChangedEventArgs
继承
Object Platform::Object IInspectable WiFiDirectAdvertisementPublisherStatusChangedEventArgs
属性

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

注解

StatusChanged 事件发生在 WiFiDirectAdvertisementPublisher 对象上时,将创建 WiFiDirectAdvertisementPublisherStatusChangedEventArgs 实例。

属性

Error

获取 WiFiDirectAdvertisementPublisher 上的 StatusChanged 事件的错误状态。

Status

获取 WiFiDirectAdvertisementPublisher 的新状态。

适用于

另请参阅