Dela via


VpnForegroundActivationOperation Class

Definition

Represents a VPN foreground operation. When you're done handling a foreground operation, you must call the Complete method.

public ref class VpnForegroundActivationOperation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VpnForegroundActivationOperation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VpnForegroundActivationOperation
Public NotInheritable Class VpnForegroundActivationOperation
Inheritance
Object Platform::Object IInspectable VpnForegroundActivationOperation
Attributes

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)
App capabilities
networkingVpnProvider

Methods

Complete(ValueSet)

Represents a VPN foreground operation. When you're done handling a foreground operation, you must call Complete from your foreground app to mark that the activation is done. Doing so will resume the control flow in the plugin. See VpnChannel.ActivateForeground.

Applies to