c# 4.0 - Retrieving .Net managed exception system error code -
when pinvoke native methods such regqueryinfokeyex in advapi32.dll methods return system error code, incredibly useful me. there anyway can retrieve error code .net managed exception?
i understand hresult property contains value have no idea how extract it.
any ideas?
thanks
Comments
Post a Comment