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

适用于