VpnAppId(VpnAppIdType, String) 建構函式

定義

使用指定的應用程式識別碼和類型,建立 VpnAppId 物件。

public:
 VpnAppId(VpnAppIdType type, Platform::String ^ value);
 VpnAppId(VpnAppIdType const& type, winrt::hstring const& value);
public VpnAppId(VpnAppIdType type, string value);
function VpnAppId(type, value)
Public Sub New (type As VpnAppIdType, value As String)

參數

type
VpnAppIdType

要建立的應用程式識別碼類型。

value
String

Platform::String

winrt::hstring

要建立的應用程式識別碼值。 指定的 類型 值必須正確。

Windows 需求

應用程式功能
networkingVpnProvider

適用於