VpnChannel.ProcessEventAsync(Object, Object) 方法

定义

处理任何挂起的 VpnChannel 事件。

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)

参数

thirdPartyPlugIn
Object

Platform::Object

IInspectable

要处理的插件。

event
Object

Platform::Object

IInspectable

从后台任务 Run 方法参数传递到应用的事件对象。 调用 ProcessEventAsync 的应用代码将此对象视为从后台任务传递到事件处理代码的不透明 Blob。 (在事件处理代码中,将相应地理解和分析对象。)

Windows 要求

应用功能
networkingVpnProvider

适用于