←Select platform

GetCodeMessage Method

Summary

Gets the error string that corresponds to a specific WiaExceptionCode.

Syntax

C#
VB
C++
public static string GetCodeMessage( 
   WiaExceptionCode code 
) 
  
Public Shared Function GetCodeMessage( _ 
   ByVal code As Leadtools.Wia.WiaExceptionCode _ 
) As String 
public: 
static String^ GetCodeMessage(  
   Leadtools.Wia.WiaExceptionCode code 
)  

Parameters

code
A WiaExceptionCode value for which the corresponding error string is being sought.

Return Value

A System.String that contains the current message for code.

Remarks

By default, WiaException has a string message for each WiaExceptionCode. You can get this message by calling this method. Moreover, you can change any string message for any WiaExceptionCode by using the SetCodeMessage method.

Example

For an example, refer to SetCodeMessage.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Wia Assembly