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

SetCodeMessage Method (BarcodeException)








The exception code for which to change its message string.
New message string.
Changes the error string that is associated with the specified BarcodeExceptionCode. .NET support Silverlight 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.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: 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