ICLRDebugging.CanUnloadNow(IntPtr) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Détermine si le module n’est plus utilisé
public:
int CanUnloadNow(IntPtr moduleHandle);
public int CanUnloadNow (IntPtr moduleHandle);
abstract member CanUnloadNow : nativeint -> int
Public Function CanUnloadNow (moduleHandle As IntPtr) As Integer
Paramètres
- moduleHandle
- IntPtr
Handle de module fourni via ILibraryProvider
Retours
HResults.S_OK si le module peut être déchargé, HResults.S_FALSE s’il est en cours d’utilisation ou un HRESULT d’erreur approprié dans le cas contraire