←Select platform

SetCodeMessage Method

Summary

Changes the error string that is associated with the specified BarcodeExceptionCode.

Syntax
C#
VB
C++
Java
public static void SetCodeMessage( 
   BarcodeExceptionCode code, 
   string message 
) 
Public Shared Sub SetCodeMessage( _ 
   ByVal code As BarcodeExceptionCode, _ 
   ByVal message As String _ 
)  
public static void setCodeMessage( 
  BarcodeExceptionCode code,  
  String message 
) 
public: 
static void SetCodeMessage(  
   BarcodeExceptionCode code, 
   String^ 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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly