ImageGear .NET v25.2 - Updated
ImageGear.Windows.Forms Assembly / ImageGear.Windows.Forms Namespace / ImGearWinForms Class / RegisterExceptionHandler Method




In This Topic
    RegisterExceptionHandler Method
    In This Topic
    Registers an exception handler for the entire application, used to display ImageGear error information.
    Syntax
    'Declaration
     
    Public Shared Sub RegisterExceptionHandler() 
    'Usage
     
    ImGearWinForms.RegisterExceptionHandler()
    public static void RegisterExceptionHandler()
    public: static void RegisterExceptionHandler(); 
    public:
    static void RegisterExceptionHandler(); 
    Remarks
    This exception handler can catch and display information for any type of exception that occurs, allowing the application to continue executing. This method must be called for every thread in the application for which exceptions are to be handled.
    See Also