←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
Java
C++
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 20.0.2018.6.20
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly