NEPacketTunnelProvider.StartTunnel Method

Definition

Starts the tunnel.

[Foundation.Export("startTunnelWithOptions:completionHandler:")]
public virtual void StartTunnel (Foundation.NSDictionary<Foundation.NSString,Foundation.NSObject> options, Action<Foundation.NSError> completionHandler);
abstract member StartTunnel : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Foundation.NSError> -> unit
override this.StartTunnel : Foundation.NSDictionary<Foundation.NSString, Foundation.NSObject> * Action<Foundation.NSError> -> unit

Parameters

options
NSDictionary<NSString,NSObject>

To be added.

This parameter can be null.

completionHandler
Action<NSError>
Attributes

Applies to