Edit

Share via


NEPacketTunnelProvider.StopTunnel(NEProviderStopReason, Action) Method

Definition

Stops the Tunnel.

[Foundation.Export("stopTunnelWithReason:completionHandler:")]
public virtual void StopTunnel (NetworkExtension.NEProviderStopReason reason, Action completionHandler);
abstract member StopTunnel : NetworkExtension.NEProviderStopReason * Action -> unit
override this.StopTunnel : NetworkExtension.NEProviderStopReason * Action -> unit

Parameters

completionHandler
Action
Attributes

Applies to