Leadtools.Barcode Namespace > BarcodeException Class : SetCodeMessage Method |
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 )
public: static void SetCodeMessage( BarcodeExceptionCode code, String^ message )
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.