ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearException Class / ThrowError Method / ThrowError(ImGearErrorCodes,String) Method
Numeric code of error from ImGearErrorCodes enumeration.
Human readable information about reason of exception.




In This Topic
    ThrowError(ImGearErrorCodes,String) Method
    In This Topic
    Throws exception of ImGearException class.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub ThrowError( _
       ByVal errorCode As ImGearErrorCodes, _
       ByVal description As String _
    ) 
    'Usage
     
    Dim errorCode As ImGearErrorCodes
    Dim description As String
     
    ImGearException.ThrowError(errorCode, description)
    public static void ThrowError( 
       ImGearErrorCodes errorCode,
       string description
    )
    public: static void ThrowError( 
       ImGearErrorCodes errorCode,
       string* description
    ) 
    public:
    static void ThrowError( 
       ImGearErrorCodes errorCode,
       String^ description
    ) 

    Parameters

    errorCode
    Numeric code of error from ImGearErrorCodes enumeration.
    description
    Human readable information about reason of exception.
    See Also