LEADTOOLS Barcode (Leadtools.Barcode assembly)

SetCodeMessage Method (BarcodeException)

Show in webframe







The exception code for which to change its message string.
New message string.
Changes the error string that is associated with the specified BarcodeExceptionCode.
Syntax
public static void SetCodeMessage( 
   BarcodeExceptionCode code,
   string message
)
'Declaration
 
Public Shared Sub SetCodeMessage( _
   ByVal code As BarcodeExceptionCode, _
   ByVal message As String _
) 
'Usage
 
Dim code As BarcodeExceptionCode
Dim message As String
 
BarcodeException.SetCodeMessage(code, message)
public static void SetCodeMessage( 
   BarcodeExceptionCode code,
   string message
)

            
public static void setCodeMessage(
  BarcodeExceptionCode code, 
  String message
)
            
 function Leadtools.Barcode.BarcodeException.SetCodeMessage( 
   code ,
   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

See Also

Reference

BarcodeException Class
BarcodeException Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features