DispatchQueue.CurrentQueue Property
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 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