Compartilhar via


NEVpnManager.Protocol Propriedade

Definição

Os desenvolvedores não devem usar essa propriedade preterida. Em vez disso, os desenvolvedores devem usar '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

Valor da propriedade

(Mais documentação para este nó está chegando)

Este valor pode ser null.

Atributos

Aplica-se a