VpnChannelConfiguration 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
VpnChannel 的配置,它指示如何与 VPN 服务器建立通信。
public ref class VpnChannelConfiguration sealed
/// [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 VpnChannelConfiguration final
[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 VpnChannelConfiguration
Public NotInheritable Class VpnChannelConfiguration
- 继承
- 属性
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
应用功能 |
networkingVpnProvider
|
属性
CustomField |
获取自定义配置作为字符串,VPN 插件分析该字符串以配置 VPN 供应商特定的设置。 字段是一个字符串,允许 XML 作为配置的数据格式。 |
ServerHostNameList |
获取 VPN 插件应连接到的 VPN 服务器的服务器主机名。 |
ServerServiceName |
获取侦听远程访问连接的 VPN 服务器的服务名称。 |
ServerUris |
获取描述要连接到的 VPN 服务器的 URI 列表,以及连接到服务器时要使用的 URI。 这与 ServerHostName 类似,但采用 URI 格式,允许按服务器传递更多信息。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈