WiFiDirectService.GetProvisioningInfoAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
异步检索 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
配置会话的首选方法。
返回
异步检索操作。 成功完成后,返回预配信息。
- 属性