VpnChannelActivityStateChangedArgs
VpnChannelActivityStateChangedArgs
VpnChannelActivityStateChangedArgs
VpnChannelActivityStateChangedArgs
Class
Definition
Represents the ActivityStateChanged event specifying the new VPN channel state (idle or active).
public : sealed class VpnChannelActivityStateChangedArgs : IVpnChannelActivityStateChangedArgspublic sealed class VpnChannelActivityStateChangedArgs : IVpnChannelActivityStateChangedArgsPublic NotInheritable Class VpnChannelActivityStateChangedArgs Implements IVpnChannelActivityStateChangedArgs// This API is not available in Javascript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|
Remarks
An instance of this class is created externally and passed to your app's handler for the ActivityStateChanged event.
Properties
ActivityState ActivityState ActivityState ActivityState
Gets a value identifying whether the VPN channel is idle or active.
public : VpnChannelActivityEventType ActivityState { get; }public VpnChannelActivityEventType ActivityState { get; }Public ReadOnly Property ActivityState As VpnChannelActivityEventType// This API is not available in Javascript.
- Value
- VpnChannelActivityEventType VpnChannelActivityEventType VpnChannelActivityEventType VpnChannelActivityEventType
An enum value that indicates whether the VPN channel is idle or active.
Additional features and requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
networkingVpnProvider
|