Dela via


VpnChannel.RequestCustomPromptAsync Method

Definition

Requests information from the user by presenting a prompt. Allows the use of prompt elements that can be mixed to construct a full prompt to the user. Input provided by the user is returned to the caller in the objects specified.

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

Parameters

customPromptElement

IVectorView<IVpnCustomPromptElement>

IReadOnlyList<IVpnCustomPromptElement>

A list custom prompt elements.

Returns

Represents an asynchronous action.

Attributes

Windows requirements

App capabilities
networkingVpnProvider

Applies to