NSObject.Invoke 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
| 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.