mirror of
https://github.com/soukoku/ntwain.git
synced 2026-01-02 12:27:11 +08:00
How do I keep missing new file?
This commit is contained in:
39
NTwain/TransferErrorEventArgs.cs
Normal file
39
NTwain/TransferErrorEventArgs.cs
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
using NTwain.Data;
|
||||||
|
using NTwain.Values;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace NTwain
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Contains TWAIN codes and source status when an error is encountered during transfer.
|
||||||
|
/// </summary>
|
||||||
|
public class TransferErrorEventArgs : EventArgs
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the return code.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// The return code.
|
||||||
|
/// </value>
|
||||||
|
public ReturnCode ReturnCode { get; internal set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the source status.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// The source status.
|
||||||
|
/// </value>
|
||||||
|
public TWStatus SourceStatus { get; internal set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the exception if the error is from some exception.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>
|
||||||
|
/// The exception.
|
||||||
|
/// </value>
|
||||||
|
public Exception Exception { get; internal set; }
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user