Leadtools.Barcode Requires Barcode add-on license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.12
Message Property
See Also 
Leadtools.Barcode Namespace > BarcodeException Class : Message Property




(Read only) Gets a message that describes the current exception.

Syntax

Visual Basic (Declaration) 
Overrides Public ReadOnly Property Message As String
Visual Basic (Usage)Copy Code
Dim instance As BarcodeException
Dim value As String
 
value = instance.Message
C# 
public override string Message {get;}
Managed Extensions for C++ 
public: __property string* get_Message()override ;
C++/CLI 
public:
property String^ Message override {
   String^ get();
}

Return Value

The error message that explains the reason for the exception, or an empty string("").

Example

For an example, refer to BarcodeEngine.Read example.

Remarks

Overrides Message.

If this BarcodeException instance was initialized with a specific Code but not with a specific message, then this property value will be the default error string that corresponds to Code property.

To obtain the error string that corresponds to the Code property value, call the GetCodeMessage method.

To change the error string that corresponds to the Code property value, call the SetCodeMessage method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Barcode requires a Barcode Module license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features