共用方式為


DispatchBlock 類別

定義

public sealed class DispatchBlock : CoreFoundation.NativeObject
type DispatchBlock = class
    inherit NativeObject
繼承
DispatchBlock

建構函式

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

屬性

Cancelled
Handle (繼承來源 NativeObject)

方法

Cancel()
Create(Action, DispatchBlockFlags, DispatchQualityOfService, Int32)
Create(Action, DispatchBlockFlags)
Create(DispatchBlock, DispatchBlockFlags, DispatchQualityOfService, Int32)
Create(DispatchBlockFlags, DispatchQualityOfService, Int32)
Dispose() (繼承來源 NativeObject)
Dispose(Boolean) (繼承來源 NativeObject)
InitializeHandle(IntPtr) (繼承來源 NativeObject)
Invoke()
Notify(DispatchQueue, Action)
Notify(DispatchQueue, DispatchBlock)
Release() (繼承來源 NativeObject)
Retain() (繼承來源 NativeObject)
TestCancel()
Wait(DispatchTime)
Wait(TimeSpan)

運算子

Explicit(DispatchBlock to Action)

適用於