Expand Minimize

ICorProfilerCallback::AppDomainCreationFinished Method

Notifies the profiler that an application domain has been created.

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

appDomainId

[in] Identifies the domain which has been created.

hrStatus

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

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.

Platforms: See .NET Framework System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: 4.6 RC, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft