Поделиться через


Thread Interface

Used to examine and manipulate threads.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
<GuidAttribute("9407F466-BBA1-11D2-8AD1-00C04F79E479")> _
Public Interface Thread
[GuidAttribute("9407F466-BBA1-11D2-8AD1-00C04F79E479")]
public interface Thread
[GuidAttribute(L"9407F466-BBA1-11D2-8AD1-00C04F79E479")]
public interface class Thread
[<GuidAttribute("9407F466-BBA1-11D2-8AD1-00C04F79E479")>]
type Thread =  interface end
public interface Thread

The Thread type exposes the following members.

Properties

  Name Description
Public property Collection Gets the collection that contains the object that supports this property or that is contained in this code construct. Returns null for an object that is 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 the thread is frozen by the debugger.
Public property Location Gets the address at which the thread was executing code when 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

Methods

  Name Description
Public method Freeze Stops the thread from executing.
Public method Thaw Enables the thread to execute.

Top

See Also

Reference

EnvDTE Namespace

Other Resources

Automation Object Model Chart

How to: Use the Threads Window