Udostępnij za pośrednictwem


VpnForegroundActivationOperation.Complete(ValueSet) Method

Definition

Represents a VPN foreground operation. When you're done handling a foreground operation, you must call Complete from your foreground app to mark that the activation is done. Doing so will resume the control flow in the plugin. See VpnChannel.ActivateForeground.

public:
 virtual void Complete(ValueSet ^ result) = Complete;
void Complete(ValueSet const& result);
public void Complete(ValueSet result);
function complete(result)
Public Sub Complete (result As ValueSet)

Parameters

result
ValueSet

A ValueSet of values that you want to be returned to the IVpnPlugin.Connect call. The ValueSet will be returned to the plugin, allowing you to pass information from the foreground app to the plugin task.

Windows requirements

App capabilities
networkingVpnProvider

Applies to