NEVpnManager.Protocol 属性

定义

开发人员不应使用此已弃用的属性。 开发人员应改用“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

属性值

(此节点的更多文档即将)

此值可为 null

属性

适用于