NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

TaskDoneEventArgs.Error Property

  • Updated2023-02-21
  • 1 minute(s) read
TaskDoneEventArgs.Error Property
Gets the Exception that occurred, if any.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public Exception Error { get; }
Public ReadOnly Property Error As Exception
	Get

Property Value

Type: Exception
If the task stopped due to an error, an Exception is returned that represents the particular error. If the task did not stop due to an error, this value is .

Remarks

As an alternative to checking this property, you can call the CheckForException method.

See Also

Log in to get a better experience