Java.Lang.Thread.Daemon Property
Tests whether this is a daemon thread.

Syntax

[get: Android.Runtime.Register("isDaemon", "()Z", "GetIsDaemonHandler")]
[set: Android.Runtime.Register("setDaemon", "(Z)V", "GetSetDaemon_ZHandler")]
public bool Daemon { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalThreadStateException- if this thread has already started.
Java.Lang.IllegalThreadStateException- if this thread has already started.
Java.Lang.IllegalThreadStateException- if this thread has already started.
Java.Lang.IllegalThreadStateException- if this thread has already started.
Java.Lang.IllegalThreadStateException- if this thread has already started.

Remarks

Get method documentation [Android Documentation]

Tests whether this is a daemon thread. A daemon thread only runs as long as there are non-daemon threads running. When the last non-daemon thread ends, the runtime will exit. This is not normally relevant to applications with a UI.

Set method documentation [Android Documentation]

Marks this thread as a daemon thread. A daemon thread only runs as long as there are non-daemon threads running. When the last non-daemon thread ends, the runtime will exit. This is not normally relevant to applications with a UI.

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1