Edit

Share via


ICorProfilerCallback::AppDomainCreationFinished Method

Notifies the profiler that an application ___domain has been created.

Syntax

HRESULT AppDomainCreationFinished(  
    [in] AppDomainID appDomainId,  
    [in] HRESULT     hrStatus);

Parameters

appDomainId
[in] Identifies the ___domain which has been created.

hrStatus
[in] An HRESULT that indicates whether creation of the application ___domain completed successfully.

Remarks

The application ID is not valid for any information request until the AppDomainCreationFinished method is called.

Some parts of loading the application ___domain might continue after the AppDomainCreationFinished callback. A failure HRESULT in hrStatus indicates a failure. However, a success HRESULT in hrStatus indicates only that the first part of creating the application ___domain has succeeded.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also