## Thread::set_IsBackground method


将线程设置为后台或前台。

```cpp
void System::Threading::Thread::set_IsBackground(bool is_background)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| is_background | bool | 如果为 true，则将线程设置为后台；否则为前台。 |

## 另见

* Class [Thread](../)
* Namespace [System::Threading](../../)
* Library [Aspose.Page for C++](../../../)
