Düzenle

Aracılığıyla paylaş


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.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

Applies to