## Thread::set_IsBackground method


Sets thread to background or foreground.

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


| Parameter | Type | Description |
| --- | --- | --- |
| is_background | bool | If true, set thread to background, otherwise to foreground. |

## See Also

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