Thread2 Interface

Definition

Represents a thread in a Visual Studio application.

public interface class Thread2 : EnvDTE::Thread
Attributes
Implements

Properties

Category
Collection

Gets the collection that contains this thread.

DisplayName
DTE

Gets the top-level extensibility object.

Flag

Gets or sets a flag on an individual thread.

ID

Gets the thread ID.

IsAlive

Gets whether the referenced thread is still alive.

IsFrozen

Gets whether or not a thread's execution has been suspended by the debugger.

Location

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

Name

Gets the name of the thread.

Parent

Gets the immediate parent object of a Thread object.

Priority

Gets the scheduling priority of the thread.

Program

Deprecated. Do not use.

StackFrames

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

SuspendCount

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

Methods

Freeze()

Stops the thread from executing.

Thaw()

Allows the thread to resume execution.

Applies to