←Select platform

TwainException Constructor(TwainExceptionCode)

Summary

Initializes a new instance of the TwainException class with its Message string set to the default message that corresponds to

code and its inner exception set to a null reference (Nothing in VB).

Syntax

C#
VB
C++
Public Function New( _ 
   ByVal code As Leadtools.Twain.TwainExceptionCode _ 
) 
public: 
TwainException(  
   Leadtools.Twain.TwainExceptionCode code 
) 

Parameters

code
An TwainExceptionCode that specifies what caused this exception.

Remarks

The TwainException class contains an internal list of messages that correspond to each TwainExceptionCode value. This constructor initializes the Message property of the new instance with the corresponding string for code.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly