ICLRDebugging.CanUnloadNow(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the module is no longer in use
public:
int CanUnloadNow(IntPtr moduleHandle);
public int CanUnloadNow (IntPtr moduleHandle);
abstract member CanUnloadNow : nativeint -> int
Public Function CanUnloadNow (moduleHandle As IntPtr) As Integer
Parameters
- moduleHandle
-
IntPtr
nativeint
A module handle that was provided via the ILibraryProvider
Returns
HResults.S_OK if the module can be unloaded, HResults.S_FALSE if it is in use or an appropriate error hresult otherwise