DispatchQueue.DispatchAfter Method
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.
Overloads
DispatchAfter(DispatchTime, Action) |
Executes this time on or after the specified time. |
DispatchAfter(DispatchTime, DispatchBlock) |
DispatchAfter(DispatchTime, Action)
Executes this time on or after the specified time.
public void DispatchAfter (CoreFoundation.DispatchTime when, Action action);
member this.DispatchAfter : CoreFoundation.DispatchTime * Action -> unit
Parameters
- when
- DispatchTime
Time at which the code block will be executed.
- action
- Action
Code block to execute at some time in the future.
Applies to
DispatchAfter(DispatchTime, DispatchBlock)
public void DispatchAfter (CoreFoundation.DispatchTime when, CoreFoundation.DispatchBlock block);
member this.DispatchAfter : CoreFoundation.DispatchTime * CoreFoundation.DispatchBlock -> unit
Parameters
- when
- DispatchTime
- block
- DispatchBlock