IManagedObject::GetObjectIdentity Method
Gets the identity of this managed object.
Syntax
HRESULT GetObjectIdentity (
[out] BSTR* pBSTRGUID,
[out] int* AppDomainID,
[out] CCW_PTR pCCW
);
Parameters
pBSTRGUID
[out] A pointer to the GUID of the process in which the object resides.
AppDomainID
[out] A pointer to the ID of the object's application domain.
pCCW
[out] A pointer to object's index in the COM classic v-table.
Remarks
The identity of a managed object includes process GUID, application domain ID, and the object's index in the COM classic v-table.
Requirements
Platforms: See System Requirements.
Header: MSCorEE.h
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: Available since 2.0
See also
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.