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.
Client implemented callback which is made during a call to IXCLRDataProcess::TranslateExceptionRecordToNotification when a given exception represents a particular GC event occurring.
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 OnGcEvent(
[in] GcEvtArgs gcEvtArgs
);
Parameters
gcEvtArgs
[in] A set of arguments which describe the GC event which occurred.
Remarks
The provided method is part of the IXCLRDataExceptionNotification3 interface and corresponds to the 15th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7