共用方式為


VpnChannel.RequestCustomPromptAsync 方法

定義

藉由顯示提示,向使用者要求資訊。 允許使用可混合的提示專案來建構使用者的完整提示。 使用者提供的輸入會傳回給所指定物件中的呼叫端。

public:
 virtual IAsyncAction ^ RequestCustomPromptAsync(IVectorView<IVpnCustomPromptElement ^> ^ customPromptElement) = RequestCustomPromptAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction RequestCustomPromptAsync(IVectorView<IVpnCustomPromptElement> const& customPromptElement);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction RequestCustomPromptAsync(IReadOnlyList<IVpnCustomPromptElement> customPromptElement);
function requestCustomPromptAsync(customPromptElement)
Public Function RequestCustomPromptAsync (customPromptElement As IReadOnlyList(Of IVpnCustomPromptElement)) As IAsyncAction

參數

customPromptElement

IVectorView<IVpnCustomPromptElement>

IReadOnlyList<IVpnCustomPromptElement>

清單自訂提示專案。

傳回

表示非同步動作。

屬性

Windows 需求

應用程式功能
networkingVpnProvider

適用於