VpnChannelActivityStateChangedArgs.ActivityState 属性

定义

获取一个值,该值标识 VPN 通道是空闲还是处于活动状态。

public:
 property VpnChannelActivityEventType ActivityState { VpnChannelActivityEventType get(); };
VpnChannelActivityEventType ActivityState();
public VpnChannelActivityEventType ActivityState { get; }
var vpnChannelActivityEventType = vpnChannelActivityStateChangedArgs.activityState;
Public ReadOnly Property ActivityState As VpnChannelActivityEventType

属性值

一个枚举值,该值指示 VPN 通道是空闲还是处于活动状态。

Windows 要求

应用功能
networkingVpnProvider

适用于