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

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -