ICLRDebugging.CanUnloadNow(IntPtr) Method

Definition

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

Applies to