Holds the event data obtained after asynchronous measurement completion.

Derives from

  • AsyncCompletedEventArgs

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public class DCPowerMeasurementEventArgs : AsyncCompletedEventArgs

Remarks

This class derives from System.ComponentModel.AsyncCompletedEventArgs that contains System.ComponentModel.AsyncCompletedEventArgs.Error and System.ComponentModel.AsyncCompletedEventArgs.Cancelled. System.ComponentModel.AsyncCompletedEventArgs.Error contains exception that was thrown during that operation. System.ComponentModel.AsyncCompletedEventArgs.Cancelled is used to indicate whether the operation was completed or cancelled. This class also contains readings that are obtained as a result of the operation.

Type Parameters

NameDescription
T

Refers to DCPowerMeasureResult when used with BeginMeasure. Refers to DCPowerFetchResult when used with BeginFetch.

Thread Safety

All members of this type are safe for multithreaded operations.

Constructors

NameDescription
DCPowerMeasurementEventArgs(Exception, bool, object, T)

Initializes a new instance of type NationalInstruments.ModularInstruments.NIDCPower.DCPowerMeasurementEventArgs<T>.

Properties

NameDescription
Result

Gets the result obtained by the measurement operation.

See Also