Thread Members

Include Protected Members
Include Inherited Members

The Thread object is used to examine and manipulate threads.

The Thread type exposes the following members.

Methods

 

Name

Description

Public method

Freeze

Stops the thread from executing.

Public method

Thaw

Allows the thread to execute.

Top

Properties

 

Name

Description

Public property

Collection

Gets the collection containing the object that supports this property or that is contained within this code construct. Returns null for an object that was not obtained from a collection.

Public property

DTE

Gets the top-level extensibility object.

Public property

ID

Gets the thread ID.

Public property

IsAlive

Gets whether the referenced thread is still alive.

Public property

IsFrozen

Gets whether or not the thread is frozen by the debugger.

Public property

Location

Gets the address at which the thread was executing code at the time the process was stopped for debugging.

Public property

Name

Gets the name of the object.

Public property

Parent

Gets the immediate parent object of a Thread object.

Public property

Priority

Gets the scheduling priority of the thread.

Public property

Program

Deprecated. Do not use.

Public property

StackFrames

Gets the collection of stack frames through which this thread is executing.

Public property

SuspendCount

Gets the number of times this thread has been suspended by the debugger.

Top

See Also

Reference

Thread Interface

EnvDTE Namespace