LabWindows/CVI

CDotNetGetErrorDescription

const char *CDotNetGetErrorDescription (int error);

Purpose

Returns the error message associated with the .NET Library error code specified in the error parameter.

Parameters

Input
Name Type Description
error int An error code returned by a LabWindows/CVI .NET Library function.

Return Value

Name Type Description
description const char * The error message associated with the error code. Do not modify or free this string.

Additional Information

Library: .NET Library

Include file: cvidotnet.h

LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later

Examples

Refer to the following examples that use the CDotNetGetErrorDescription function:

  • dotnet\GenericList\genericlist.cws

    Open example
  • dotnet\RegEx\DotNetRegularExpressions.cws

    Open example
  • dotnet\Timer\timer.cws

    Open example