using NTwain.Data;
using NTwain.Values;
using System;
namespace NTwain
{
///
/// Contains TWAIN codes and source status when an error is encountered during transfer.
///
public class TransferErrorEventArgs : EventArgs
{
///
/// Gets the return code from the transfer.
///
///
/// 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; }
}
}