Share via


VpnChannel.ProcessEventAsync(Object, Object) Method

Definition

Processes any pending VpnChannel events.

public:
 static void ProcessEventAsync(Platform::Object ^ thirdPartyPlugIn, Platform::Object ^ event);
 static void ProcessEventAsync(IInspectable const& thirdPartyPlugIn, IInspectable const& event);
public static void ProcessEventAsync(object thirdPartyPlugIn, object event);
function processEventAsync(thirdPartyPlugIn, event)
Public Shared 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