IDebugAlias2::GetAppDomainId

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the identifier for the application domain.

Syntax

HRESULT GetAppDomainId (
   ULONG32* pappDomainId
);
int GetAppDomainId (
   out uint pappDomainId
);

Parameters

pappDomainId
[out] Returns the application domain identifier.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

The application domain identifier changes whenever the application is restarted and a new application domain is created.

See also