NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerMeasurementEventArgs(T) Class

  • Updated2024-01-04
  • 3 minute(s) read
DCPowerMeasurementEventArgs(T) Class

DCPowerMeasurementEventArgsT Class

Holds the event data obtained after asynchronous measurement completion.

Inheritance Hierarchy

SystemObject
  SystemEventArgs
    System.ComponentModelAsyncCompletedEventArgs
      NationalInstruments.ModularInstruments.NIDCPowerDCPowerMeasurementEventArgsT

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public sealed class DCPowerMeasurementEventArgs<T> : AsyncCompletedEventArgs
Public NotInheritable Class DCPowerMeasurementEventArgs(Of T)
	Inherits AsyncCompletedEventArgs

Type Parameters

T
Refers to DCPowerMeasureResult when used with BeginMeasure(String, DCPowerMeasureResult, AsyncCallback, Object). Refers to DCPowerFetchResult when used with BeginFetch(String, PrecisionTimeSpan, Int32, DCPowerFetchResult, AsyncCallback, Object).

The DCPowerMeasurementEventArgsT type exposes the following members.

Constructors

  NameDescription
Public methodDCPowerMeasurementEventArgsT
Initializes a new instance of type DCPowerMeasurementEventArgsT.
Top

Properties

  NameDescription
Public propertyCancelled (Inherited from AsyncCompletedEventArgs.)
Public propertyError (Inherited from AsyncCompletedEventArgs.)
Public propertyResult
Gets the result obtained by the measurement operation.
Public propertyUserState (Inherited from AsyncCompletedEventArgs.)
Top

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top

Remarks

This class derives from AsyncCompletedEventArgs that contains Error and Cancelled. Error contains exception that was thrown during that operation. 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Log in to get a better experience