Mac Guides | Samples

MonoMac.Foundation.NSThread Class

NSThread support.

See Also: NSThread

Syntax

[MonoMac.Foundation.Register("NSThread", true)]
public class NSThread : NSObject

Requirements

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

The members of MonoMac.Foundation.NSThread are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates an NSThread and invokes the specified selector on the specified target.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
CurrentNSThread.
[read-only]
IsCancelledBoolean.
[read-only]
IsExecutingBoolean.
[read-only]
IsFinishedBoolean.
[read-only]
static
IsMainBoolean.
[read-only]
IsMainThreadBoolean.
[read-only]
static
IsMultiThreadedBoolean.
[read-only]
static
MainThreadNSThread.
NameString.
static
PriorityDouble.
StackSizeUInt32.

Public Methods

Cancel()
static
Exit()
Main()
static
SleepFor(Double)
static
SleepUntil(NSDate)
Start()