DispatchQueue.CurrentQueue Property

Definition

Developers should not use this deprecated property.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.None, null)]
public static CoreFoundation.DispatchQueue CurrentQueue { get; }
member this.CurrentQueue : CoreFoundation.DispatchQueue

Property Value

The current dispatch queue if invoked from code that was queued into a DispatchQueue, otherwise it returns the same queue as MainQueue.

Attributes

Applies to