IVpnChannelStatics IVpnChannelStatics IVpnChannelStatics IVpnChannelStatics Interface

Definition

Provides static functions for VPN plug-ins.

public : interface IVpnChannelStaticspublic interface IVpnChannelStaticsPublic Interface IVpnChannelStatics// You can use this interface in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider

Methods

ProcessEventAsync(Object, Object) ProcessEventAsync(Object, Object) ProcessEventAsync(Object, Object) ProcessEventAsync(Object, Object)

A VPN plug-in must always call this function in its background tasks Run() method.

public : void ProcessEventAsync(PlatForm::Object thirdPartyPlugIn, PlatForm::Object event)public void ProcessEventAsync(Object thirdPartyPlugIn, Object event)Public Function ProcessEventAsync(thirdPartyPlugIn As Object, event As Object) As void// You can use this method in JavaScript.
Parameters
thirdPartyPlugIn
PlatForm::Object Object Object Object

The plug-in to be processed.

event
PlatForm::Object Object Object Object

The event object that was passed to the app from a background task Run method parameter. App code calling ProcessEventAsync treats this object as an opaque blob it is passing from the background task to the event processing code. (In the event processing code, the object will be understood and parsed appropriately.)

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
networkingVpnProvider