Share via


VpnAppId(VpnAppIdType, String) Constructor

Definition

Creates a VpnAppId object with specified app ID and type.

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)

Parameters

type
VpnAppIdType

The type of app ID to be created.

value
String

Platform::String

winrt::hstring

The value of the app ID to be created. Value must be correct for the given type value.

Windows requirements

App capabilities
networkingVpnProvider

Applies to