IXCLRDataExceptionNotification::OnTaskExecution Method
Client implemented callback which is made during a call to IXCLRDataProcess::TranslateExceptionRecordToNotification
when a given exception represents a managed task reaching a desired execution state.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT OnTaskExecution(
[in] IXCLRDataTask *task,
[in] ULONG32 state
);
Parameters
task
[in] The managed task which has reached a desired execution state
state
[in] The execution state of the task
Remarks
The provided method is part of the IXCLRDataExceptionNotification
interface and corresponds to the 7th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7