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

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public DCPowerMeasurementEventArgs(Exception error, bool canceled, object userState, T result)

Parameters

NameTypeDescription
errorException

Specifies the exception thrown during the operation.

canceledbool

Specifies whether the operation was completed or cancelled.

userStateobject

Specifies the object used to associate client state, such as a task ID, with this particular asynchronous operation.

resultT

Specifies the reading obtained from the operation.