Freigeben über


NEVpnManager.Protocol Eigenschaft

Definition

Entwickler sollten diese veraltete Eigenschaft nicht verwenden. Entwickler sollten stattdessen "ProtocolConfiguration" verwenden.

[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

Eigenschaftswert

(Weitere Dokumentation zu diesem Knoten wird bereitgestellt.

Dieser Wert kann null sein.

Attribute

Gilt für: