IVpnChannelStatics.ProcessEventAsync(Object, Object) メソッド

定義

VPN プラグインは、バックグラウンド タスク Run() メソッドで常にこの関数を呼び出す必要があります。

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)

パラメーター

thirdPartyPlugIn
Object

Platform::Object

IInspectable

処理するプラグイン。

event
Object

Platform::Object

IInspectable

バックグラウンド タスクからアプリに渡されたイベント オブジェクト Run メソッド パラメーターです。 ProcessEventAsync 呼び出すアプリ コードは、このオブジェクトをバックグラウンド タスクからイベント処理コードに渡す不透明な BLOB として扱います。 (イベント処理コードでは、オブジェクトが適切に認識され、解析されます)。

Windows の要件

アプリの機能
networkingVpnProvider

適用対象