Condividi tramite


NEVpnConnection.StartVpnTunnel Metodo

Definizione

Overload

StartVpnTunnel(NSError)

Avvia la connessione alla VPN.

StartVpnTunnel(NEVpnConnectionStartOptions, NSError)

Avvia la connessione alla VPN.

StartVpnTunnel(NSError)

Avvia la connessione alla VPN.

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

Parametri

error
NSError

Restituisce

Attributi

Si applica a

StartVpnTunnel(NEVpnConnectionStartOptions, NSError)

Avvia la connessione alla 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

Parametri

error
NSError

Restituisce

Attributi

Si applica a