Provides data for the Done event.

Derives from

  • EventArgs
  • ISerializable

Syntax

Namespace: NationalInstruments.DAQmx

public class TaskDoneEventArgs : EventArgs, ISerializable

Remarks

Note

Example applications are located in the <Public Documents>\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National Instruments»NI-DAQmx»NI-DAQmx Examples.

Thread Safety

All members of this type are safe for multithreaded operations.

Constructors

NameDescription
TaskDoneEventArgs(Exception)

Initializes a new instance of the TaskDoneEventArgs class with the specified exception.

Properties

NameDescription
Error

Gets the Exception that occurred, if any.

Methods

NameDescription
GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with information about the exception.

CheckForException()

Throws the Exception that occurred, if any exists.