VpnNamespaceInfo 类

定义

VpnNamespaceInfo 不受支持,将来可能会更改或不可用。 请改用 VpnDomainNameInfo

public ref class VpnNamespaceInfo sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnNamespaceInfoFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class VpnNamespaceInfo final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.Vpn.IVpnNamespaceInfoFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class VpnNamespaceInfo final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnNamespaceInfoFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class VpnNamespaceInfo
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.Vpn.IVpnNamespaceInfoFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VpnNamespaceInfo
Public NotInheritable Class VpnNamespaceInfo
继承
Object Platform::Object IInspectable VpnNamespaceInfo
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
networkingVpnProvider

构造函数

VpnNamespaceInfo(String, IVector<HostName>, IVector<HostName>)

不支持。

属性

DnsServers

不支持。

Namespace

不支持。

WebProxyServers

不支持。

适用于