ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / HResult Structure / GetResultFromException Method
The exception

In This Topic
    GetResultFromException Method
    In This Topic
    Gets a HResult from an System.Exception.
    Syntax
    'Declaration
     
    Public Shared Function GetResultFromException( _
       ByVal ex As System.Exception _
    ) As HResult
    public static HResult GetResultFromException( 
       System.Exception ex
    )

    Parameters

    ex
    The exception

    Return Value

    The associated result code
    See Also