←Select platform

Message Property

Summary

Gets a message that describes the current exception.

Syntax
C#
VB
C++
Java
public override string Message { get; } 
Public Overrides ReadOnly Property Message As String 
public String getMessage() 
public: 
property String^ Message { 
   String^ get() override; 
} 

Property Value

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

Remarks

Overrides Message.

If this RasterException instance was initialized with a specific Code but no specific message, then this property will return the default error string that corresponds to the Code populated automatically by LEADTOOLS.

Get the error string that corresponds to any Code by calling the GetCodeMessage method.

Example

For an example, refer to RasterException

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly