Method RaiseThreadException
RaiseThreadException(object, BaseThreadExceptionEventArgs)
Raises ThreadException event.
public static void RaiseThreadException(object sender, BaseThreadExceptionEventArgs args)
Parameters
senderobjectSender parameter of the event.
argsBaseThreadExceptionEventArgsEvent arguments.