NSObject.Invoke Method

Definition

Overloads

Name Description
Invoke(Action, Double)

Invokes the specified action after the specified delay.

Invoke(Action, TimeSpan)

Invokes the specified action after the specified delay.

Invoke(Action, Double)

Invokes the specified action after the specified delay.

public virtual void Invoke(Action action, double delay);
abstract member Invoke : Action * double -> unit
override this.Invoke : Action * double -> unit

Parameters

action
Action

The action to invoke.

delay
Double

The delay in seconds.

Applies to

Invoke(Action, TimeSpan)

Invokes the specified action after the specified delay.

public virtual void Invoke(Action action, TimeSpan delay);
abstract member Invoke : Action * TimeSpan -> unit
override this.Invoke : Action * TimeSpan -> unit

Parameters

action
Action

The action to invoke.

delay
TimeSpan

The delay as a TimeSpan.

Applies to