Task

Overview

Task class that returns no value.

Location

Descendants

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

Task()

 

init()

 

Task()

 

Sub New()

constructor (Action) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aIn: Action)

 

Task(Action aIn)

 

init(_ aIn: Action)

 

Task(Action aIn)

 

Sub New(aIn As Action)

Parameters:

  • aIn:

constructor (Action<RemObjects.Elements.System.Object>, Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aIn: Action<RemObjects.Elements.System.Object>; aState: Object)

 

Task(Action<RemObjects.Elements.System.Object> aIn, Object aState)

 

init(_ aIn: Action<RemObjects.Elements.System.Object>, _ aState: Object)

 

Task(Action<RemObjects.Elements.System.Object> aIn, Object aState)

 

Sub New(aIn As Action<RemObjects.Elements.System.Object>, aState As Object)

Parameters:

  • aIn:
  • aState:

Await

Adds to this tasks await completion list, runs this interface when done, or returns true if it's already done.

 

method Await(aCompletion: IAwaitCompletion): Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

 

func Await(_ aCompletion: IAwaitCompletion) -> Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

 

Function Await(aCompletion As IAwaitCompletion) As Boolean

Parameters:

  • aCompletion:

ConfigureAwait

Defines if awaiting this task should return to the current context or not.

 

method ConfigureAwait(aCaptureContext: Boolean): ConfiguredAwaitTask

 

ConfiguredAwaitTask ConfigureAwait(Boolean aCaptureContext)

 

func ConfigureAwait(_ aCaptureContext: Boolean) -> ConfiguredAwaitTask

 

ConfiguredAwaitTask ConfigureAwait(Boolean aCaptureContext)

 

Function ConfigureAwait(aCaptureContext As Boolean) As ConfiguredAwaitTask

Parameters:

  • aCaptureContext:

ContinueWith (Action<RemObjects.Elements.System.Task>): Task

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith(aAction: Action<Task>): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith(aAction: Action<RemObjects.Elements.System.Task>): Task

 

// UIKit for Mac
Task ContinueWith(Action<Task> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task> aAction)

 

// UIKit for Mac
func ContinueWith(_ aAction: Action<Task>) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith(_ aAction: Action<RemObjects.Elements.System.Task>) -> Task

 

// UIKit for Mac
Task ContinueWith(Action<Task> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task> aAction)

 

// UIKit for Mac
Function ContinueWith(aAction As Action<Task>) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith(aAction As Action<RemObjects.Elements.System.Task>) As Task

Parameters:

  • aAction:

ContinueWith (Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, Object): Task

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith(aAction: Action<Task,Object>; aState: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith(aAction: Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>; aState: Object): Task

 

// UIKit for Mac
Task ContinueWith(Action<Task,Object> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object> aAction, Object aState)

 

// UIKit for Mac
func ContinueWith(_ aAction: Action<Task,Object>, _ aState: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith(_ aAction: Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, _ aState: Object) -> Task

 

// UIKit for Mac
Task ContinueWith(Action<Task,Object> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object> aAction, Object aState)

 

// UIKit for Mac
Function ContinueWith(aAction As Action<Task,Object>, aState As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith(aAction As Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, aState As Object) As Task

Parameters:

  • aAction:
  • aState:

ContinueWith<T> (Func<RemObjects.Elements.System.Task,T>): Task<T>

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith<T>(aAction: Func<Task,T>): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith<T>(aAction: Func<RemObjects.Elements.System.Task,T>): Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,T> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,T> aAction)

 

// UIKit for Mac
func ContinueWith<T>(_ aAction: Func<Task,T>) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith<T>(_ aAction: Func<RemObjects.Elements.System.Task,T>) -> Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,T> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,T> aAction)

 

// UIKit for Mac
Function ContinueWith<T>(aAction As Func<Task,T>) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith<T>(aAction As Func<RemObjects.Elements.System.Task,T>) As Task<T>

Parameters:

  • aAction:

ContinueWith<T> (Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, Object): Task<T>

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith<T>(aAction: Func<Task,Object,T>; aState: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith<T>(aAction: Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>; aState: Object): Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,Object,T> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T> aAction, Object aState)

 

// UIKit for Mac
func ContinueWith<T>(_ aAction: Func<Task,Object,T>, _ aState: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith<T>(_ aAction: Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, _ aState: Object) -> Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,Object,T> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T> aAction, Object aState)

 

// UIKit for Mac
Function ContinueWith<T>(aAction As Func<Task,Object,T>, aState As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith<T>(aAction As Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, aState As Object) As Task<T>

Parameters:

  • aAction:
  • aState:

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Exception

Returns the exception that occurred.

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

Exception Exception { __get; }

 

ReadOnly Property Exception() As Exception

Finalize  protected virtual    (declared in Object) UIKit for Mac

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

IsCompleted

True if the task is done (or failed)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

Boolean IsCompleted { __get; }

 

ReadOnly Property IsCompleted() As Boolean

IsFaulted

Returns true if the task threw an exception.

 

property IsFaulted: Boolean read;

 

Boolean IsFaulted { get; }

 

var IsFaulted: Boolean { get{} }

 

Boolean IsFaulted { __get; }

 

ReadOnly Property IsFaulted() As Boolean

IsStarted

Returns true if the task started.

 

property IsStarted: Boolean read;

 

Boolean IsStarted { get; }

 

var IsStarted: Boolean { get{} }

 

Boolean IsStarted { __get; }

 

ReadOnly Property IsStarted() As Boolean

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Run (Action): Task

Runs the given callback and returns a task.

 

class method Run(aIn: Action): Task

 

static Task Run(Action aIn)

 

static func Run(_ aIn: Action) -> Task

 

static Task Run(Action aIn)

 

Shared Function Run(aIn As Action) As Task

Parameters:

  • aIn:

Run (Action<RemObjects.Elements.System.Object>, Object): Task

Runs the given callback and returns a task.

 

// UIKit for Mac
class method Run(aIn: Action<Object>; aValue: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method Run(aIn: Action<RemObjects.Elements.System.Object>; aValue: Object): Task

 

// UIKit for Mac
static Task Run(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task Run(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
static func Run(_ aIn: Action<Object>, _ aValue: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func Run(_ aIn: Action<RemObjects.Elements.System.Object>, _ aValue: Object) -> Task

 

// UIKit for Mac
static Task Run(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task Run(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
Shared Function Run(aIn As Action<Object>, aValue As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function Run(aIn As Action<RemObjects.Elements.System.Object>, aValue As Object) As Task

Parameters:

  • aIn:
  • aValue:

Run<T> (Func<T>): Task<T>

Runs the given callback and returns a task.

 

class method Run<T>(aIn: Func<T>): Task<T>

 

static Task<T> Run<T>(Func<T> aIn)

 

static func Run<T>(_ aIn: Func<T>) -> Task<T>

 

static Task<T> Run<T>(Func<T> aIn)

 

Shared Function Run<T>(aIn As Func<T>) As Task<T>

Parameters:

  • aIn:

Run<T> (Func<RemObjects.Elements.System.Object,T>, Object): Task<T>

Runs the given callback and returns a task.

 

// UIKit for Mac
class method Run<T>(aIn: Func<Object,T>; aValue: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method Run<T>(aIn: Func<RemObjects.Elements.System.Object,T>; aValue: Object): Task<T>

 

// UIKit for Mac
static Task<T> Run<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> Run<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
static func Run<T>(_ aIn: Func<Object,T>, _ aValue: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func Run<T>(_ aIn: Func<RemObjects.Elements.System.Object,T>, _ aValue: Object) -> Task<T>

 

// UIKit for Mac
static Task<T> Run<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> Run<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
Shared Function Run<T>(aIn As Func<Object,T>, aValue As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function Run<T>(aIn As Func<RemObjects.Elements.System.Object,T>, aValue As Object) As Task<T>

Parameters:

  • aIn:
  • aValue:

RunSynchronous (Action): Task

Runs the given callback in the context of the caller and returns a task.

 

class method RunSynchronous(aIn: Action): Task

 

static Task RunSynchronous(Action aIn)

 

static func RunSynchronous(_ aIn: Action) -> Task

 

static Task RunSynchronous(Action aIn)

 

Shared Function RunSynchronous(aIn As Action) As Task

Parameters:

  • aIn:

RunSynchronous (Action<RemObjects.Elements.System.Object>, Object): Task

Runs the given callback in the context of the caller and returns a task.

 

// UIKit for Mac
class method RunSynchronous(aIn: Action<Object>; aValue: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method RunSynchronous(aIn: Action<RemObjects.Elements.System.Object>; aValue: Object): Task

 

// UIKit for Mac
static Task RunSynchronous(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task RunSynchronous(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
static func RunSynchronous(_ aIn: Action<Object>, _ aValue: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func RunSynchronous(_ aIn: Action<RemObjects.Elements.System.Object>, _ aValue: Object) -> Task

 

// UIKit for Mac
static Task RunSynchronous(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task RunSynchronous(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
Shared Function RunSynchronous(aIn As Action<Object>, aValue As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function RunSynchronous(aIn As Action<RemObjects.Elements.System.Object>, aValue As Object) As Task

Parameters:

  • aIn:
  • aValue:

RunSynchronous<T> (Func<T>): Task<T>

Runs the given callback in the context of the caller and returns a task.

 

class method RunSynchronous<T>(aIn: Func<T>): Task<T>

 

static Task<T> RunSynchronous<T>(Func<T> aIn)

 

static func RunSynchronous<T>(_ aIn: Func<T>) -> Task<T>

 

static Task<T> RunSynchronous<T>(Func<T> aIn)

 

Shared Function RunSynchronous<T>(aIn As Func<T>) As Task<T>

Parameters:

  • aIn:

RunSynchronous<T> (Func<RemObjects.Elements.System.Object,T>, Object): Task<T>

Runs the given callback in the context of the caller and returns a task.

 

// UIKit for Mac
class method RunSynchronous<T>(aIn: Func<Object,T>; aValue: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method RunSynchronous<T>(aIn: Func<RemObjects.Elements.System.Object,T>; aValue: Object): Task<T>

 

// UIKit for Mac
static Task<T> RunSynchronous<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> RunSynchronous<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
static func RunSynchronous<T>(_ aIn: Func<Object,T>, _ aValue: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func RunSynchronous<T>(_ aIn: Func<RemObjects.Elements.System.Object,T>, _ aValue: Object) -> Task<T>

 

// UIKit for Mac
static Task<T> RunSynchronous<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> RunSynchronous<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
Shared Function RunSynchronous<T>(aIn As Func<Object,T>, aValue As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function RunSynchronous<T>(aIn As Func<RemObjects.Elements.System.Object,T>, aValue As Object) As Task<T>

Parameters:

  • aIn:
  • aValue:

Start UIKit for Mac

Starts this task.

 

method Start

 

Start()

 

func Start()

 

Start()

 

Sub Start()

State

Returns the state of this task.

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

TaskState State { __get; }

 

ReadOnly Property State() As TaskState

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

Wait  virtual UIKit for Mac

Waits for the task to finish.

 

method Wait

 

Wait()

 

func Wait()

 

Wait()

 

Sub Wait()

Wait (Int32): Boolean  virtual

Waits for the task to finish or timeout.

 

method Wait(aTimeoutMSec: Int32): Boolean

 

Boolean Wait(Int32 aTimeoutMSec)

 

func Wait(_ aTimeoutMSec: Int32) -> Boolean

 

Boolean Wait(Int32 aTimeoutMSec)

 

Function Wait(aTimeoutMSec As Int32) As Boolean

Parameters:

  • aTimeoutMSec:

 

Exception

Returns the exception that occurred.

 

property Exception: Exception read;

 

Exception Exception { get; }

 

var Exception: Exception { get{} }

 

Exception Exception { __get; }

 

ReadOnly Property Exception() As Exception

IsCompleted

True if the task is done (or failed)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

Boolean IsCompleted { __get; }

 

ReadOnly Property IsCompleted() As Boolean

IsFaulted

Returns true if the task threw an exception.

 

property IsFaulted: Boolean read;

 

Boolean IsFaulted { get; }

 

var IsFaulted: Boolean { get{} }

 

Boolean IsFaulted { __get; }

 

ReadOnly Property IsFaulted() As Boolean

IsStarted

Returns true if the task started.

 

property IsStarted: Boolean read;

 

Boolean IsStarted { get; }

 

var IsStarted: Boolean { get{} }

 

Boolean IsStarted { __get; }

 

ReadOnly Property IsStarted() As Boolean

State

Returns the state of this task.

 

property State: TaskState read;

 

TaskState State { get; }

 

var State: TaskState { get{} }

 

TaskState State { __get; }

 

ReadOnly Property State() As TaskState

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

Run (Action): Task

Runs the given callback and returns a task.

 

class method Run(aIn: Action): Task

 

static Task Run(Action aIn)

 

static func Run(_ aIn: Action) -> Task

 

static Task Run(Action aIn)

 

Shared Function Run(aIn As Action) As Task

Parameters:

  • aIn:

Run (Action<RemObjects.Elements.System.Object>, Object): Task

Runs the given callback and returns a task.

 

// UIKit for Mac
class method Run(aIn: Action<Object>; aValue: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method Run(aIn: Action<RemObjects.Elements.System.Object>; aValue: Object): Task

 

// UIKit for Mac
static Task Run(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task Run(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
static func Run(_ aIn: Action<Object>, _ aValue: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func Run(_ aIn: Action<RemObjects.Elements.System.Object>, _ aValue: Object) -> Task

 

// UIKit for Mac
static Task Run(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task Run(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
Shared Function Run(aIn As Action<Object>, aValue As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function Run(aIn As Action<RemObjects.Elements.System.Object>, aValue As Object) As Task

Parameters:

  • aIn:
  • aValue:

Run<T> (Func<T>): Task<T>

Runs the given callback and returns a task.

 

class method Run<T>(aIn: Func<T>): Task<T>

 

static Task<T> Run<T>(Func<T> aIn)

 

static func Run<T>(_ aIn: Func<T>) -> Task<T>

 

static Task<T> Run<T>(Func<T> aIn)

 

Shared Function Run<T>(aIn As Func<T>) As Task<T>

Parameters:

  • aIn:

Run<T> (Func<RemObjects.Elements.System.Object,T>, Object): Task<T>

Runs the given callback and returns a task.

 

// UIKit for Mac
class method Run<T>(aIn: Func<Object,T>; aValue: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method Run<T>(aIn: Func<RemObjects.Elements.System.Object,T>; aValue: Object): Task<T>

 

// UIKit for Mac
static Task<T> Run<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> Run<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
static func Run<T>(_ aIn: Func<Object,T>, _ aValue: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func Run<T>(_ aIn: Func<RemObjects.Elements.System.Object,T>, _ aValue: Object) -> Task<T>

 

// UIKit for Mac
static Task<T> Run<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> Run<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
Shared Function Run<T>(aIn As Func<Object,T>, aValue As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function Run<T>(aIn As Func<RemObjects.Elements.System.Object,T>, aValue As Object) As Task<T>

Parameters:

  • aIn:
  • aValue:

RunSynchronous (Action): Task

Runs the given callback in the context of the caller and returns a task.

 

class method RunSynchronous(aIn: Action): Task

 

static Task RunSynchronous(Action aIn)

 

static func RunSynchronous(_ aIn: Action) -> Task

 

static Task RunSynchronous(Action aIn)

 

Shared Function RunSynchronous(aIn As Action) As Task

Parameters:

  • aIn:

RunSynchronous (Action<RemObjects.Elements.System.Object>, Object): Task

Runs the given callback in the context of the caller and returns a task.

 

// UIKit for Mac
class method RunSynchronous(aIn: Action<Object>; aValue: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method RunSynchronous(aIn: Action<RemObjects.Elements.System.Object>; aValue: Object): Task

 

// UIKit for Mac
static Task RunSynchronous(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task RunSynchronous(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
static func RunSynchronous(_ aIn: Action<Object>, _ aValue: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func RunSynchronous(_ aIn: Action<RemObjects.Elements.System.Object>, _ aValue: Object) -> Task

 

// UIKit for Mac
static Task RunSynchronous(Action<Object> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task RunSynchronous(Action<RemObjects.Elements.System.Object> aIn, Object aValue)

 

// UIKit for Mac
Shared Function RunSynchronous(aIn As Action<Object>, aValue As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function RunSynchronous(aIn As Action<RemObjects.Elements.System.Object>, aValue As Object) As Task

Parameters:

  • aIn:
  • aValue:

RunSynchronous<T> (Func<T>): Task<T>

Runs the given callback in the context of the caller and returns a task.

 

class method RunSynchronous<T>(aIn: Func<T>): Task<T>

 

static Task<T> RunSynchronous<T>(Func<T> aIn)

 

static func RunSynchronous<T>(_ aIn: Func<T>) -> Task<T>

 

static Task<T> RunSynchronous<T>(Func<T> aIn)

 

Shared Function RunSynchronous<T>(aIn As Func<T>) As Task<T>

Parameters:

  • aIn:

RunSynchronous<T> (Func<RemObjects.Elements.System.Object,T>, Object): Task<T>

Runs the given callback in the context of the caller and returns a task.

 

// UIKit for Mac
class method RunSynchronous<T>(aIn: Func<Object,T>; aValue: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
class method RunSynchronous<T>(aIn: Func<RemObjects.Elements.System.Object,T>; aValue: Object): Task<T>

 

// UIKit for Mac
static Task<T> RunSynchronous<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> RunSynchronous<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
static func RunSynchronous<T>(_ aIn: Func<Object,T>, _ aValue: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static func RunSynchronous<T>(_ aIn: Func<RemObjects.Elements.System.Object,T>, _ aValue: Object) -> Task<T>

 

// UIKit for Mac
static Task<T> RunSynchronous<T>(Func<Object,T> aIn, Object aValue)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
static Task<T> RunSynchronous<T>(Func<RemObjects.Elements.System.Object,T> aIn, Object aValue)

 

// UIKit for Mac
Shared Function RunSynchronous<T>(aIn As Func<Object,T>, aValue As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Shared Function RunSynchronous<T>(aIn As Func<RemObjects.Elements.System.Object,T>, aValue As Object) As Task<T>

Parameters:

  • aIn:
  • aValue:

 

constructor    (declared in Object) UIKit for Mac

Default constructor.

 

constructor

 

Task()

 

init()

 

Task()

 

Sub New()

constructor (Action) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aIn: Action)

 

Task(Action aIn)

 

init(_ aIn: Action)

 

Task(Action aIn)

 

Sub New(aIn As Action)

Parameters:

  • aIn:

constructor (Action<RemObjects.Elements.System.Object>, Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

constructor(aIn: Action<RemObjects.Elements.System.Object>; aState: Object)

 

Task(Action<RemObjects.Elements.System.Object> aIn, Object aState)

 

init(_ aIn: Action<RemObjects.Elements.System.Object>, _ aState: Object)

 

Task(Action<RemObjects.Elements.System.Object> aIn, Object aState)

 

Sub New(aIn As Action<RemObjects.Elements.System.Object>, aState As Object)

Parameters:

  • aIn:
  • aState:

Await

Adds to this tasks await completion list, runs this interface when done, or returns true if it's already done.

 

method Await(aCompletion: IAwaitCompletion): Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

 

func Await(_ aCompletion: IAwaitCompletion) -> Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

 

Function Await(aCompletion As IAwaitCompletion) As Boolean

Parameters:

  • aCompletion:

ConfigureAwait

Defines if awaiting this task should return to the current context or not.

 

method ConfigureAwait(aCaptureContext: Boolean): ConfiguredAwaitTask

 

ConfiguredAwaitTask ConfigureAwait(Boolean aCaptureContext)

 

func ConfigureAwait(_ aCaptureContext: Boolean) -> ConfiguredAwaitTask

 

ConfiguredAwaitTask ConfigureAwait(Boolean aCaptureContext)

 

Function ConfigureAwait(aCaptureContext As Boolean) As ConfiguredAwaitTask

Parameters:

  • aCaptureContext:

ContinueWith (Action<RemObjects.Elements.System.Task>): Task

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith(aAction: Action<Task>): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith(aAction: Action<RemObjects.Elements.System.Task>): Task

 

// UIKit for Mac
Task ContinueWith(Action<Task> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task> aAction)

 

// UIKit for Mac
func ContinueWith(_ aAction: Action<Task>) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith(_ aAction: Action<RemObjects.Elements.System.Task>) -> Task

 

// UIKit for Mac
Task ContinueWith(Action<Task> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task> aAction)

 

// UIKit for Mac
Function ContinueWith(aAction As Action<Task>) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith(aAction As Action<RemObjects.Elements.System.Task>) As Task

Parameters:

  • aAction:

ContinueWith (Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, Object): Task

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith(aAction: Action<Task,Object>; aState: Object): Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith(aAction: Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>; aState: Object): Task

 

// UIKit for Mac
Task ContinueWith(Action<Task,Object> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object> aAction, Object aState)

 

// UIKit for Mac
func ContinueWith(_ aAction: Action<Task,Object>, _ aState: Object) -> Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith(_ aAction: Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, _ aState: Object) -> Task

 

// UIKit for Mac
Task ContinueWith(Action<Task,Object> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task ContinueWith(Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object> aAction, Object aState)

 

// UIKit for Mac
Function ContinueWith(aAction As Action<Task,Object>, aState As Object) As Task
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith(aAction As Action<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object>, aState As Object) As Task

Parameters:

  • aAction:
  • aState:

ContinueWith<T> (Func<RemObjects.Elements.System.Task,T>): Task<T>

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith<T>(aAction: Func<Task,T>): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith<T>(aAction: Func<RemObjects.Elements.System.Task,T>): Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,T> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,T> aAction)

 

// UIKit for Mac
func ContinueWith<T>(_ aAction: Func<Task,T>) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith<T>(_ aAction: Func<RemObjects.Elements.System.Task,T>) -> Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,T> aAction)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,T> aAction)

 

// UIKit for Mac
Function ContinueWith<T>(aAction As Func<Task,T>) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith<T>(aAction As Func<RemObjects.Elements.System.Task,T>) As Task<T>

Parameters:

  • aAction:

ContinueWith<T> (Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, Object): Task<T>

Continue this task with the given callback when it's done.

 

// UIKit for Mac
method ContinueWith<T>(aAction: Func<Task,Object,T>; aState: Object): Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
method ContinueWith<T>(aAction: Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>; aState: Object): Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,Object,T> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T> aAction, Object aState)

 

// UIKit for Mac
func ContinueWith<T>(_ aAction: Func<Task,Object,T>, _ aState: Object) -> Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
func ContinueWith<T>(_ aAction: Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, _ aState: Object) -> Task<T>

 

// UIKit for Mac
Task<T> ContinueWith<T>(Func<Task,Object,T> aAction, Object aState)
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Task<T> ContinueWith<T>(Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T> aAction, Object aState)

 

// UIKit for Mac
Function ContinueWith<T>(aAction As Func<Task,Object,T>, aState As Object) As Task<T>
// Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows
Function ContinueWith<T>(aAction As Func<RemObjects.Elements.System.Task,RemObjects.Elements.System.Object,T>, aState As Object) As Task<T>

Parameters:

  • aAction:
  • aState:

Equals (Object): Boolean  virtual    (declared in Object) Android, iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, Ubuntu, watchOS, watchOS Simulator, WebAssembly, Windows

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Start UIKit for Mac

Starts this task.

 

method Start

 

Start()

 

func Start()

 

Start()

 

Sub Start()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

Wait  virtual UIKit for Mac

Waits for the task to finish.

 

method Wait

 

Wait()

 

func Wait()

 

Wait()

 

Sub Wait()

Wait (Int32): Boolean  virtual

Waits for the task to finish or timeout.

 

method Wait(aTimeoutMSec: Int32): Boolean

 

Boolean Wait(Int32 aTimeoutMSec)

 

func Wait(_ aTimeoutMSec: Int32) -> Boolean

 

Boolean Wait(Int32 aTimeoutMSec)

 

Function Wait(aTimeoutMSec As Int32) As Boolean

Parameters:

  • aTimeoutMSec:

Descendants