Name

ThreadExceptionEventHandler

Synopsis

This event handler allows an event to be raised whenever a thread exception occurs. The System.Windows.Forms.Application.ThreadException property allows you to set one of these handlers, which takes the sender and ThreadExceptionEventArgs as arguments. The ThreadExceptionEventArgs object contains the exception raised.

Public Delegate Sub ThreadExceptionEventHandler(
        ByVal sender As Object, 
        ByVal e As ThreadExceptionEventArgs) 

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.