MonoMac.CoreFoundation.DispatchQueue.DispatchSync Method

Syntax

public void DispatchSync (MonoMac.Foundation.NSAction action)

Parameters

action
Code block to be executed synchronously.

Remarks

This method is a convenient wrapper around DispatchAsync() method with the addition of a semaphore to wait for completion of the block, and a wrapper around the block to signal its completion.

Requirements

Namespace: MonoMac.CoreFoundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0