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
設定會話的慣用方法。
傳回
非同步擷取作業。 成功完成時,會傳回布建資訊。
- 屬性