- code
- A WiaExceptionCode value for which the corresponding error string is being sought.
Visual Basic (Declaration) | |
---|---|
Public Shared Function GetCodeMessage( _ ByVal code As WiaExceptionCode _ ) As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static string GetCodeMessage( WiaExceptionCode code ) |
C++/CLI | |
---|---|
public: static String^ GetCodeMessage( WiaExceptionCode code ) |
Parameters
- code
- A WiaExceptionCode value for which the corresponding error string is being sought.
Return Value
A String that contains the current message for code.For an example, refer to SetCodeMessage.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family