LEADTOOLS (Leadtools assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetCodeMessage Method
See Also 
Leadtools Namespace > RasterException Class : GetCodeMessage Method



code
A RasterExceptionCode value to get the string message for.
code
A RasterExceptionCode value to get the string message for.
Gets the error string that corresponds to a specific RasterExceptionCode. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Shared Function GetCodeMessage( _
   ByVal code As RasterExceptionCode _
) As String
Visual Basic (Usage)Copy Code
Dim code As RasterExceptionCode
Dim value As String
 
value = RasterException.GetCodeMessage(code)
C# 
public static string GetCodeMessage( 
   RasterExceptionCode code
)
C++/CLI 
public:
static String^ GetCodeMessage( 
   RasterExceptionCode code
) 

Parameters

code
A RasterExceptionCode value to get the string message for.

Return Value

A System.String that contains the current message for code

Remarks

By default, RasterException has a string message for each RasterExceptionCode. You can get this message by calling this method.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also