Click or drag to resize

AcquisitionAsynchronousException Event

This event is raised when an exception is thrown during an asynchronous acquisition.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public event AsynchronousExceptionEventHandler AsynchronousException

Value

Type: Atalasoft.TwainAsynchronousExceptionEventHandler
Examples
AsynchronousExceptionCS (C#)
private void acquisition_AsynchronousException(object sender, Atalasoft.Twain.AsynchronousExceptionEventArgs e)
{
    ' Let the user know something happened.
    MessageBox.Show(this, e.Exception.Message, "Asynchronous Exception");
}
AsynchronousExceptionVB (Visual Basic)
Private  Sub acquisition_AsynchronousException(ByVal sender As Object, ByVal e As Atalasoft.Twain.AsynchronousExceptionEventArgs)
    ' Let the user know something happened.
    MessageBox.Show(this, e.Exception.Message, "Asynchronous Exception")
End Sub
See Also