setDaemon() public method

public setDaemon ( bool arg0 ) : void
arg0 bool
return void
 /// <summary>
 /// Create a thread.
 /// </summary>
 /// <seealso cref= ThreadFactory#newThread(java.lang.Runnable) </seealso>
 public virtual java.lang.Thread newThread(Runnable r)
 {
     java.lang.Thread thread = new java.lang.Thread(group, r, namePrefix + threadNumber.getAndIncrement(), 0);
     thread.setDaemon(isDaemon);
     if (thread.getPriority() != Thread.NORM_PRIORITY)
     {
         thread.setPriority(Thread.NORM_PRIORITY);
     }
     return(thread);
 }