Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Notifies the profiler that the specified thread has been suspended or is about to be suspended.
Syntax
HRESULT RuntimeThreadSuspended(
[in] ThreadID threadId);
Parameters
threadId
[in] The ID of the thread that has been suspended.
Remarks
The RuntimeThreadSuspended notification can occur any time between the ICorProfilerCallback::RuntimeSuspendStarted and the associated ICorProfilerCallback::RuntimeResumeStarted callbacks. Notifications that occur between ICorProfilerCallback::RuntimeSuspendFinished and RuntimeResumeStarted are for threads that had been running in unmanaged code and were suspended upon entry to the runtime.
Generally, this callback occurs just after a thread is suspended. However, if the currently executing thread (the thread that called this callback) is the one that is being suspended, this callback will occur just before the thread is suspended.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 2.0