Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Provides methods to sequentially iterate through a collection of threads in the common language runtime.
Methods
| Method | Description |
|---|---|
| Clone Method | Gets an interface pointer to a copy of this ICorProfilerThreadEnum interface. |
| GetCount Method | Gets the number of threads that are used by the application. |
| Next Method | Gets the specified number of contiguous threads from a sequential collection of threads, starting at the enumerator's current position in the sequence. |
| Reset Method | Moves the enumerator's cursor to the starting position of the sequence. |
| Skip Method | Advances the enumerator's cursor from its current position to skip the specified number of elements. |
Remarks
The ICorProfilerThreadEnum interface is an enumerator. It allows the receiver of an array to pull elements from the sender at a rate that is appropriate for the receiver. In other words, the receiver is able to explicitly control the flow of array elements, thereby avoiding the problems associated with passing large arrays as method parameters.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5