次の方法で共有


VpnChannel.RequestCustomPromptAsync メソッド

定義

プロンプトを表示して、ユーザーに情報を要求します。 混合できる prompt 要素を使用して、ユーザーに完全なプロンプトを作成できるようにします。 ユーザーによって提供された入力は、指定されたオブジェクトの呼び出し元に返されます。

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

適用対象