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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -