ErrorMessage Property

NI-488.2 .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370628F-01

»View Product Info
Download Help (Windows Only)

GpibException Class See Also


NOTE: This property is obsolete.

Gets a complete description of the error that caused the exception to be thrown.

Namespace: NationalInstruments.NI4882

Assembly: NationalInstruments.NI4882 (in NationalInstruments.NI4882.dll) Version: 13.0.40.159

Syntax

Visual Basic (Declaration)
<ObsoleteAttribute("Use the System.Exception.Message property to get the error message for the exception.")> _
Public ReadOnly Property ErrorMessage As String

C#
[ObsoleteAttribute("Use the System.Exception.Message property to get the error message for the exception.")]
public string ErrorMessage { get; }

Property Value

A complete description of the error that caused the exception to be thrown.

Remarks

This member is obsolete. Use Message to get the error message for the exception.

Every time the API calls an NI-488.2 driver operation, it checks if the status of the operation indicates an error condition. If an error condition exists, the GpibException is thrown, and this error message gives a complete description of the error that caused the exception to be thrown.

See Also

Reference

GpibException Class

NationalInstruments.NI4882 Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful