Udostępnij za pośrednictwem


VpnChannelActivityStateChangedArgs Class

Definition

Represents the ActivityStateChanged event specifying the new VPN channel state (idle or active).

public ref class VpnChannelActivityStateChangedArgs 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 VpnChannelActivityStateChangedArgs 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 VpnChannelActivityStateChangedArgs
Public NotInheritable Class VpnChannelActivityStateChangedArgs
Inheritance
Object Platform::Object IInspectable VpnChannelActivityStateChangedArgs
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
networkingVpnProvider

Remarks

An instance of this class is created externally and passed to your app's handler for the ActivityStateChanged event.

Properties

ActivityState

Gets a value identifying whether the VPN channel is idle or active.

Applies to