共用方式為


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

設定會話的慣用方法。

傳回

非同步擷取作業。 成功完成時,會傳回布建資訊。

屬性

適用於