IXCLRDataTask::GetCurrentAppDomain Method
Gets the application domain that the task is currently running in. This can change over time.
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 GetCurrentAppDomain(
[out] IXCLRDataAppDomain **appDomain
);
Parameters
appDomain
[out] The application domain that the task is currently running in.
Remarks
The provided method is part of the IXCLRDataTask
interface and corresponds to the 5th slot of the virtual method table.
Requirements
Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.