VintaSoft Twain .NET SDK 15.4: Documentation for .NET developer
Vintasoft.Twain Namespace / TwainEnvironment Class / EnableDebugging Methods / EnableDebugging(Stream) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
EnableDebugging(Stream) Method (TwainEnvironment)
In This Topic
Enables the debugging.
Syntax
'Declaration

Public Overloads Shared Sub EnableDebugging( _
ByVal stream
Debug information will be written to this stream.
As System.IO.Stream _
)
public static void EnableDebugging(
System.IO.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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also