WiFiConnectionResult 类

定义

描述尝试连接到Wi-Fi网络的结果。

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

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

注解

此类的实例由 WiFiAdapter.ConnectAsync 函数创建并返回。

属性

ConnectionStatus

获取连接结果值。

适用于

另请参阅