using NTwain.Data; using NTwain.Values; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace NTwain { /// /// Contains TWAIN codes and source status when an error is encountered during transfer. /// public class TransferErrorEventArgs : EventArgs { /// /// Gets the return code. /// /// /// The return code. /// public ReturnCode ReturnCode { get; internal set; } /// /// Gets the source status. /// /// /// The source status. /// public TWStatus SourceStatus { get; internal set; } /// /// Gets the exception if the error is from some exception. /// /// /// The exception. /// public Exception Exception { get; internal set; } } }