←Select platform

SetCodeMessage Method (BarcodeException)

Summary

Changes the error string that corresponds the value of the Code property.

Syntax

C#
VB
C++
public static void SetCodeMessage(  
   Leadtools.Barcode.Deprecated.BarcodeExceptionCode code, 
   string message 
) 
Public Shared Sub SetCodeMessage( _ 
   ByVal code As Leadtools.Barcode.Deprecated.BarcodeExceptionCode, _ 
   ByVal message As String _ 
)  
public: 
static void SetCodeMessage(  
   Leadtools.Barcode.Deprecated.BarcodeExceptionCode code, 
   String^ message 
)  

Parameters

code
Flag that indicates the exception code for which change its message string.

message
A character string that contains the current message for code.

Remarks

By default, BarcodeException has a string message for each flag of the BarcodeExceptionCode. To obtain the error string that corresponds to the Code property value, call the GetCodeMessage method.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly