Thread2 Thread2 Thread2 Thread2 Thread2 Thread2 Interface

Definition

Represents a thread in a Visual Studio application.

public interface class Thread2 : EnvDTE::Thread
public interface class Thread2 : EnvDTE::Thread
__interface Thread2 : EnvDTE::Thread
[System.Runtime.InteropServices.Guid("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Thread2 : EnvDTE.Thread
type Thread2 = interface
    interface Thread
Public Interface Thread2
Implements Thread
Attributes
Implements

Properties

Category Category Category Category Category Category
Collection Collection Collection Collection Collection Collection

Gets the collection that contains this thread.

DisplayName DisplayName DisplayName DisplayName DisplayName DisplayName
DTE DTE DTE DTE DTE DTE

Gets the top-level extensibility object.

Flag Flag Flag Flag Flag Flag

Gets or sets a flag on an individual thread.

ID ID ID ID ID ID

Gets the thread ID.

IsAlive IsAlive IsAlive IsAlive IsAlive IsAlive

Gets whether the referenced thread is still alive.

IsFrozen IsFrozen IsFrozen IsFrozen IsFrozen IsFrozen

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

Location Location Location Location Location Location

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

Name Name Name Name Name Name

Gets the name of the thread.

Parent Parent Parent Parent Parent Parent

Gets the immediate parent object of a Thread object.

Priority Priority Priority Priority Priority Priority

Gets the scheduling priority of the thread.

Program Program Program Program Program Program

Deprecated. Do not use.

StackFrames StackFrames StackFrames StackFrames StackFrames StackFrames

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

SuspendCount SuspendCount SuspendCount SuspendCount SuspendCount SuspendCount

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

Methods

Freeze() Freeze() Freeze() Freeze() Freeze() Freeze()

Stops the thread from executing.

Thaw() Thaw() Thaw() Thaw() Thaw() Thaw()

Allows the thread to resume execution.

Applies to