VintaSoft Twain .NET SDK 15.0: Documentation for .NET developer
Vintasoft.WpfTwain Namespace / TwainEnvironment Class / EnableDebugging Methods / EnableDebugging(String) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    EnableDebugging(String) Method (TwainEnvironment)
    In This Topic
    Enables the debugging.
    Syntax
    'Declaration
    
    Public Overloads Shared Sub EnableDebugging( _
    ByVal filename
    Debug information will be written to this file.
    As String _
    )
    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: .NET 8, .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also