Thread2 Interface
Represents a thread in a Visual Studio application.
Namespace: EnvDTE90
Assembly: EnvDTE90 (in EnvDTE90.dll)
Syntax
'Declaration
<GuidAttribute("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")> _
Public Interface Thread2 _
Inherits Thread
[GuidAttribute("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")]
public interface Thread2 : Thread
[GuidAttribute(L"86FD0779-FBBE-41CC-B444-6EE8676F4F2C")]
public interface class Thread2 : Thread
[<GuidAttribute("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")>]
type Thread2 =
interface
interface Thread
end
public interface Thread2 extends Thread
The Thread2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Freeze | Stops the thread from executing. | |
Thaw | Allows the thread to resume execution. |
Top