Edit

Share via


NEVpnConnection.StartVpnTunnel Method

Definition

Overloads

StartVpnTunnel(NSError)

Begins connecting the VPN.

StartVpnTunnel(NEVpnConnectionStartOptions, NSError)

Begins connecting the VPN.

StartVpnTunnel(NSError)

Begins connecting the VPN.

[Foundation.Export("startVPNTunnelAndReturnError:")]
public virtual bool StartVpnTunnel (out Foundation.NSError error);
abstract member StartVpnTunnel :  -> bool
override this.StartVpnTunnel :  -> bool

Parameters

error
NSError

Returns

Attributes

Applies to

StartVpnTunnel(NEVpnConnectionStartOptions, NSError)

Begins connecting the VPN.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public bool StartVpnTunnel (NetworkExtension.NEVpnConnectionStartOptions options, out Foundation.NSError error);
member this.StartVpnTunnel : NetworkExtension.NEVpnConnectionStartOptions *  -> bool

Parameters

error
NSError

Returns

Attributes

Applies to