←Select platform

TwainException Constructor(string)

Summary
Initializes a new instance of the TwainException class with its Message string set to
message, its Code set to TwainExceptionCode.NotInitialized and its inner exception set to a null reference (Nothing in VB).

Syntax
C#
C++/CLI
Python
public TwainException( 
   string message 
) 
public: 
TwainException(  
   String^ message 
) 
__init__(self,message) # Overloaded constructor 

Parameters

message
A String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Remarks

The constructor initializes the Message property of the new instance using message.

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Twain Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.