Dela via


VpnNamespaceInfo Constructor

Definition

Not supported.

public:
 VpnNamespaceInfo(Platform::String ^ name, IVector<HostName ^> ^ dnsServerList, IVector<HostName ^> ^ proxyServerList);
 VpnNamespaceInfo(winrt::hstring const& name, IVector<HostName> const& dnsServerList, IVector<HostName> const& proxyServerList);
public VpnNamespaceInfo(string name, IList<HostName> dnsServerList, IList<HostName> proxyServerList);
function VpnNamespaceInfo(name, dnsServerList, proxyServerList)
Public Sub New (name As String, dnsServerList As IList(Of HostName), proxyServerList As IList(Of HostName))

Parameters

name
String

Platform::String

winrt::hstring

A list of DNS servers to perform DNS resolution against when resolving a name in the namespace.

dnsServerList

IVector<HostName>

IList<HostName>

A list of DNS servers to perform DNS resolution against when resolving a name in the namespace.

proxyServerList

IVector<HostName>

IList<HostName>

A list of web proxy servers to be used when connecting to a resource in the specified namespace.

Windows requirements

App capabilities
networkingVpnProvider

Applies to