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

适用于