VintaSoft Twain .NET SDK v10.2
Vintasoft.WpfTwain Namespace / TwainEnvironment Class / EnableDebugging Method / EnableDebugging(String) Method
Debug information will be written to this file.




In This Topic
    EnableDebugging(String) Method
    In This Topic
    Enables the debugging.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub EnableDebugging( _
       ByVal filename As String _
    ) 
    'Usage
     
    Dim filename As String
     
    TwainEnvironment.EnableDebugging(filename)
    public static void EnableDebugging( 
       string filename
    )
    public: static void EnableDebugging( 
       string* filename
    ) 
    public:
    static void EnableDebugging( 
       String^ filename
    ) 

    Parameters

    filename
    Debug information will be written to this file.
    Exceptions
    ExceptionDescription
    Thrown if file is not accessible.
    Thrown if file does not have write access.
    Thrown if debugging is already enabled.
    Remarks
    File must be accessible for writing.

    Debug information is added to the file, file is not truncated if it exists.
    Requirements

    Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also