Share via


NSManagedObjectContext.Lock Method

Definition

Developers should not use this deprecated method. Developers should use a queue style context and 'PerformAndWait' instead.

[Foundation.Export("lock")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Lock();
[<Foundation.Export("lock")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Lock : unit -> unit
override this.Lock : unit -> unit

Implements

Attributes

Applies to