VpnAppId(VpnAppIdType, String) 构造函数

定义

使用指定的应用 ID 和类型创建 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

要创建的应用 ID 的类型。

value
String

Platform::String

winrt::hstring

要创建的应用 ID 的值。 对于给定 类型 值,值必须正确。

Windows 要求

应用功能
networkingVpnProvider

适用于