←Select platform

SetCodeMessage Method

Summary

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

Syntax

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

Leadtools.Barcode Assembly