Share via


IVpnChannelStatics.ProcessEventAsync(Object, Object) Method

Definition

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

public:
 void ProcessEventAsync(Platform::Object ^ thirdPartyPlugIn, Platform::Object ^ event);
void ProcessEventAsync(IInspectable const& thirdPartyPlugIn, IInspectable const& event);
public void ProcessEventAsync(object thirdPartyPlugIn, object event);
function processEventAsync(thirdPartyPlugIn, event)
Public Sub ProcessEventAsync (thirdPartyPlugIn As Object, event As Object)

Parameters

thirdPartyPlugIn
Object

Platform::Object

IInspectable

The plug-in to be processed.

event
Object

Platform::Object

IInspectable

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.)

Windows requirements

App capabilities
networkingVpnProvider

Applies to