共用方式為


VpnForegroundActivatedEventArgs.ActivationOperation 屬性

定義

取得物件,表示 VPN 前景作業。

當您完成前景作業時,您必須呼叫這個 VpnForegroundActivationOperation 物件的 Complete 方法,傳入您想要傳回 IVpnPlugin.Connect 呼叫的值 ValueSet。 請參閱 VpnChannel.ActivateForeground

public:
 property VpnForegroundActivationOperation ^ ActivationOperation { VpnForegroundActivationOperation ^ get(); };
VpnForegroundActivationOperation ActivationOperation();
public VpnForegroundActivationOperation ActivationOperation { get; }
var vpnForegroundActivationOperation = vpnForegroundActivatedEventArgs.activationOperation;
Public ReadOnly Property ActivationOperation As VpnForegroundActivationOperation

屬性值

VpnForegroundActivationOperationOperation 物件,代表 VPN 前景作業。

Windows 需求

應用程式功能
networkingVpnProvider

適用於