LEADTOOLS Barcode (Leadtools.Barcode assembly)
LEAD Technologies, Inc

SetCodeMessage Method (BarcodeException)








Flag that indicates the exception code for which change its message string.
A character string that contains the current message for code.
Changes the error string that corresponds the value of the Code property. .NET support
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
)
ObjectiveC Syntax
 function Leadtools.Barcode.Deprecated.BarcodeException.SetCodeMessage( 
   code ,
   message 
)
public:
static void SetCodeMessage( 
   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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BarcodeException Class
BarcodeException Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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