IXCLRDataProcess::SetAllCodeNotifications Method

Requests notifications when code is generated or discarded for any method instance in a given IXCLRDataModule

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 SetAllCodeNotifications(
    [in] IXCLRDataModule *mod,
    [in] ULONG32 flags
);

Parameters

mod
[in] The module for which to request code notifications.

flags
[in] The flags defining what kind of code notifications should be delivered. The flags argument is one or more of the flags defined by the CLRDataMethodCodeNotification enumeration.

Remarks

The provided method is part of the IXCLRDataProcess interface and corresponds to the 37th slot of the virtual method table. The IXCLRDataAppDomain* returned is used for interaction with other APIs.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also