Initializes a new instance of the DaqException class with the specified error message and a reference to the inner exception that is the cause of the exception.

Syntax

Namespace: NationalInstruments.DAQmx

public DaqException(string message, Exception inner)

Remarks


NI-DAQmx Driver Error Codes

Parameters

NameTypeDescription
messagestring

The error message that explains the cause of the exception.

innerException

The exception that caused this exception.