C#中Thread.IsBackground 属性

来源:互联网 发布:青岛专业seo服务公司 编辑:程序博客网 时间:2024/04/30 03:03

Thread  thread.IsBackground =true;

//Gets or sets a value indicating whether or not a thread is a background thread.

//获取或设置一个值,该值指示某个线程是否为后台线程。

命名空间:  System.Threading

true if this thread is or is to become a background thread; otherwise,false.

如果此线程是后台线程或即将成为后台线程,则为true;否则为false

0 0
原创粉丝点击