NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Thread.IsBackground

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

[Visual Basic]
Public Property IsBackground As Boolean
[C#]
public bool IsBackground {get; set;}
[C++]
public: __property bool get_IsBackground();
public: __property void set_IsBackground(bool);
[JScript]
public function get IsBackground() : Boolean;
public function set IsBackground(Boolean);

Property Value

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

Exceptions

Exception Type Condition
ThreadStateException The thread has not been started, is dead, or is not in the suspended state.

Remarks

Background threads are not affected when the execution engine shuts down.

See Also

Thread Class | Thread Members | System.Threading Namespace