Thread2 Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[System.Runtime.InteropServices.Guid("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")]
public interface Thread2 : EnvDTE.Thread
[<System.Runtime.InteropServices.Guid("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Thread2 = interface
interface Thread
[<System.Runtime.InteropServices.Guid("86FD0779-FBBE-41CC-B444-6EE8676F4F2C")>]
type Thread2 = interface
interface Thread
Public Interface Thread2
Implements 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. |