NSManagedObjectContext.Lock Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers should not use this deprecated method. Developers should use a queue style context and 'PerformAndWait' instead.
[Foundation.Export("lock")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use a queue style context and 'PerformAndWait' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use a queue style context and 'PerformAndWait' instead.")]
public virtual void Lock ();
abstract member Lock : unit -> unit
override this.Lock : unit -> unit
Implements
- Attributes