HResult ​
A set of common, useful HRESULTS, and related functionality
Kind: Static class
Namespace: Microsoft.Runtime.Hosting
Public Static Functions
bool
IsSuccess(int hr)
Indicates whether an HRESULT value is a success based on its severity
bool
IsFailure(int hr)
Indicates whether an HRESULT value is a failure based on its severity
Public Attributes
int
S_OK
OK/true/Success
int
S_FALSE
False
int
E_NOTIMPL
The method is not implemented
int
E_NOINTERFACE
The interface is not supported
int
E_POINTER
Bad Pointer
int
E_FAIL
General failure HRESULT
int
E_INVALIDARG
Invalid Argument
int
ERROR_INSUFFICIENT_BUFFER
Insufficient buffer
int
CLR_E_SHIM_RUNTIMELOAD
HRESULT for failure to find or load an appropriate runtime
