Поделиться через


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.

Атрибуты

Применяется к