Share via


DispatchBlock Class

Definition

public sealed class DispatchBlock : CoreFoundation.NativeObject
type DispatchBlock = class
    inherit NativeObject
Inheritance

Constructors

Name Description
DispatchBlock(Action, DispatchBlockFlags, DispatchQualityOfService, Int32)
DispatchBlock(Action, DispatchBlockFlags)
DispatchBlock(DispatchBlock, DispatchBlockFlags, DispatchQualityOfService, Int32)

Properties

Name Description
Cancelled
Handle (Inherited from DisposableObject)
Owns (Inherited from DisposableObject)

Methods

Name Description
Cancel()
ClearHandle() (Inherited from DisposableObject)
Create(Action, DispatchBlockFlags, DispatchQualityOfService, Int32)
Create(Action, DispatchBlockFlags)
Create(DispatchBlock, DispatchBlockFlags, DispatchQualityOfService, Int32)
Create(DispatchBlockFlags, DispatchQualityOfService, Int32)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Invoke()
Notify(DispatchQueue, Action)
Notify(DispatchQueue, DispatchBlock)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
TestCancel()
Wait(DispatchTime)
Wait(TimeSpan)

Operators

Name Description
Explicit(DispatchBlock to Action)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to