Bagikan melalui


VpnChannel.RequestCustomPromptAsync Metode

Definisi

Meminta informasi dari pengguna dengan menyajikan perintah. Memungkinkan penggunaan elemen prompt yang dapat dicampur untuk membuat prompt penuh kepada pengguna. Input yang disediakan oleh pengguna dikembalikan ke pemanggil dalam objek yang ditentukan.

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

Parameter

customPromptElement

IVectorView<IVpnCustomPromptElement>

IReadOnlyList<IVpnCustomPromptElement>

Elemen perintah kustom daftar.

Mengembalikan

Mewakili tindakan asinkron.

Atribut

Persyaratan Windows

Kemampuan aplikasi
networkingVpnProvider

Berlaku untuk