←Select platform

BarcodeException Constructor(string,Exception)

Summary
Initializes a new instance of the BarcodeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax
C#
VB
C++
Java
public BarcodeException( 
   string message, 
   Exception inner 
) 
Public Function New( _ 
   ByVal message As String, _ 
   ByVal inner As Exception _ 
) 
public BarcodeException( 
  String message,  
  RuntimeException inner 
) 
public: 
BarcodeException(  
   String^ message, 
   Exception^ inner 
) 

Parameters

message
The error message that explains the reason for the exception.

inner
The exception that is the cause of the current exception. If the inner parameter is not null reference (Nothing in VB), the current exception is raised in a catch block that handles the inner exception.

Remarks

This constructor initializes a new BarcodeException class with the Message property set to message and the Code property set to BarcodeExceptionCode.InvalidType.

Requirements

Target Platforms

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

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