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




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

    Parameters

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

    Debug information is added to the stream, stream is not truncated if it is not empty.

    Stream will not be closed when debugging will be disabled.
    Requirements

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

    See Also