WiFiDirectService.GetProvisioningInfoAsync 方法

定义

异步检索 Wi-Fi 直接服务会话预配信息。

public:
 virtual IAsyncOperation<WiFiDirectServiceProvisioningInfo ^> ^ GetProvisioningInfoAsync(WiFiDirectServiceConfigurationMethod selectedConfigurationMethod) = GetProvisioningInfoAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<WiFiDirectServiceProvisioningInfo> GetProvisioningInfoAsync(WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<WiFiDirectServiceProvisioningInfo> GetProvisioningInfoAsync(WiFiDirectServiceConfigurationMethod selectedConfigurationMethod);
function getProvisioningInfoAsync(selectedConfigurationMethod)
Public Function GetProvisioningInfoAsync (selectedConfigurationMethod As WiFiDirectServiceConfigurationMethod) As IAsyncOperation(Of WiFiDirectServiceProvisioningInfo)

参数

selectedConfigurationMethod
WiFiDirectServiceConfigurationMethod

配置会话的首选方法。

返回

异步检索操作。 成功完成后,返回预配信息。

属性

适用于