NI-DAQmx .NET Framework 4.0 API Reference

EveryNSamplesReadEventArgs.Error Property

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

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

Syntax

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

Property Value

Type: Exception
If the task stops due to an error, this property returns an Exception 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