Freigeben über


Thread Interface

Definition

Used to examine and manipulate threads.

public interface class Thread
public interface class Thread
__interface Thread
[System.Runtime.InteropServices.Guid("9407F466-BBA1-11D2-8AD1-00C04F79E479")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Thread
[System.Runtime.InteropServices.Guid("9407F466-BBA1-11D2-8AD1-00C04F79E479")]
public interface Thread
[<System.Runtime.InteropServices.Guid("9407F466-BBA1-11D2-8AD1-00C04F79E479")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type Thread = interface
[<System.Runtime.InteropServices.Guid("9407F466-BBA1-11D2-8AD1-00C04F79E479")>]
type Thread = interface
Public Interface Thread
Derived
Attributes

Properties

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.

DTE

Gets the top-level extensibility object.

ID

Gets the thread ID.

IsAlive

Gets whether the referenced thread is still alive.

IsFrozen

Gets whether the thread is frozen by the debugger.

Location

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

Name

Gets the name of the object.

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()

Enables the thread to execute.

Applies to