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

适用于