WiaException Constructor(WiaExceptionCode)

Summary
Initializes a new instance of the WiaException 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 WiaExceptionCode _ 
) 
public: 
WiaException(  
   WiaExceptionCode code 
) 

Parameters

code
An WiaExceptionCode that specifies what caused this exception.

Remarks

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

Requirements

Target Platforms

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

Leadtools.Wia Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.