[]
Gets a HResult from an Exception.
public static HResult GetResultFromException(Exception ex)
The exception
The associated result code