Edit

Share via


IDebugAlias2::GetAppDomainId

Retrieves the identifier for the application domain.

Syntax

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