PowerSignalsDaqException(ErrorCode, string, params object[])
- Updated2025-01-08
- 1 minute(s) read
Initializes a new instance of the PowerSignalsDaqException class with a specified error type and error message.
Syntax
Namespace: NationalInstruments.PowerSignalsDaq
public PowerSignalsDaqException(ErrorCode errorCode, string format, params object[] args)
Remarks
The initial ErrorCode property value for an instance of PowerSignalsDaqException is the specified error type, and the initial Exception.Message property value is the specified error message.
Parameters
| Name | Type | Description |
|---|---|---|
| errorCode | ErrorCode | The error code associated with the instance of PowerSignalsDaqException. See ErrorCode for the list error codes have been used in NI-PowerSignalsDAQ driver. |
| format | string | A composite format string representing the error message. |
| args | params object[] | An object array that contains zero or more objects to format. |