Condividi tramite


IDebugAlias2::GetAppDomainId

Retrieves the identifier for the application domain.

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

Reference

IDebugAlias2