[]
        
(Showing Draft Content)

C1.Util.DX.HResult.GetResultFromException

GetResultFromException Method

GetResultFromException(Exception)

Gets a HResult from an Exception.

Declaration
public static HResult GetResultFromException(Exception ex)
Public Shared Function GetResultFromException(ex As Exception) As HResult
Parameters
Type Name Description
Exception ex

The exception

Returns
Type Description
HResult

The associated result code