←Select platform

WiaException Constructor(string,WiaExceptionCode)

Summary
Initializes a new instance of the WiaException 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#
C++/CLI
Python
public: 
WiaException(  
   String^ message, 
   WiaExceptionCode code 
) 
__init__(self,message,code) # Overloaded constructor 

Parameters

message
A System.String that describes the error. The content of the 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.

code
An WiaExceptionCode value that specifies what caused this exception.

Remarks

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

Requirements

Target Platforms

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

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