←Select platform

TwainException Constructor(String,TwainExceptionCode)

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

Syntax

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

Parameters

message, its Code set to

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

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

Remarks

The constructor initializes the Message property of the new instance using

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

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Twain Assembly
Click or drag to resize