Condividi tramite


NEVpnManager.Protocol Proprietà

Definizione

Gli sviluppatori non devono usare questa proprietà deprecata. Gli sviluppatori devono usare invece 'ProtocolConfiguration'.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")]
public virtual NetworkExtension.NEVpnProtocol Protocol { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")] [Foundation.Export("protocol", ObjCRuntime.ArgumentSemantic.Strong)] get; [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.None, "Use 'ProtocolConfiguration' instead.")] [Foundation.Export("setProtocol:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.Protocol : NetworkExtension.NEVpnProtocol with get, set

Valore della proprietà

(È disponibile una documentazione più dettagliata per questo nodo)

Il valore può essere null.

Attributi

Si applica a