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

DCPowerMeasurementEventArgsT Class
Holds the event data obtained after asynchronous measurement completion.
Inheritance Hierarchy
SystemObject
SystemEventArgs
System.ComponentModelAsyncCompletedEventArgs
NationalInstruments.ModularInstruments.NIDCPowerDCPowerMeasurementEventArgsT
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
Name | Description | |
---|---|---|
![]() | DCPowerMeasurementEventArgsT |
Initializes a new instance of type DCPowerMeasurementEventArgsT.
|
Properties
Name | Description | |
---|---|---|
![]() | Cancelled | (Inherited from AsyncCompletedEventArgs.) |
![]() | Error | (Inherited from AsyncCompletedEventArgs.) |
![]() | Result |
Gets the result obtained by the measurement operation.
|
![]() | UserState | (Inherited from AsyncCompletedEventArgs.) |
Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.