Thread.Run Method

Definition

If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.

[Android.Runtime.Register("run", "()V", "GetRunHandler")]
public virtual void Run ();
[<Android.Runtime.Register("run", "()V", "GetRunHandler")>]
abstract member Run : unit -> unit
override this.Run : unit -> unit

Implements

Attributes

Remarks

If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns.

Subclasses of Thread should override this method.

Java documentation for java.lang.Thread.run().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also