public void Detach() { if (!CanDetach) throw new TargetException (TargetError.CannotDetach); main_thread.Detach (); }
public void Detach(Process process) { if (process == main_process) Detach (); else process.Detach (); }