共用方式為


IVpnChannelStatics 介面

定義

提供 VPN 外掛程式的靜態函式。

public interface class IVpnChannelStatics
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2297103917, 59416, 20477, 152, 166, 54, 62, 55, 54, 201, 93)]
struct IVpnChannelStatics
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2297103917, 59416, 20477, 152, 166, 54, 62, 55, 54, 201, 93)]
public interface IVpnChannelStatics
Public Interface IVpnChannelStatics
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
networkingVpnProvider

方法

ProcessEventAsync(Object, Object)

VPN 外掛程式必須一律在其背景工作 Run() 方法中呼叫此函式。

適用於