←Select platform

SetCodeMessage Method

Summary
Changes the error string that is associated with the specified BarcodeExceptionCode.
Syntax
C#
C++/CLI
Java
Python
public static void SetCodeMessage( 
   BarcodeExceptionCode code, 
   string message 
) 
public static void setCodeMessage( 
  BarcodeExceptionCode code,  
  String message 
) 
public: 
static void SetCodeMessage(  
   BarcodeExceptionCode code, 
   String^ message 
)  
def SetCodeMessage(self,code,message): 

Parameters

code
The exception code for which to change its message string.

message
New message string.

Remarks

By default, BarcodeException has a string message for each member of the BarcodeExceptionCode enumeration. To get the current (or default) error string associated with a BarcodeExceptionCode enumeration member, use GetCodeMessage.

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.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.