NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DaqException Constructor (String, Int32, Exception)

  • Updated2023-02-21
  • 1 minute(s) read
DaqException Constructor (String, Int32, Exception)
Initializes a new instance of the DaqException class with the specified error message, NI-DAQmx driver error code, and reference to the inner exception that is the cause of the exception.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public DaqException(
	string message,
	int errorCode,
	Exception inner
)
Public Sub New ( 
	message As String,
	errorCode As Integer,
	inner As Exception
)

Parameters

message
Type: SystemString
The error message that explains the cause of the exception.
errorCode
Type: SystemInt32
The NI-DAQmx driver error code that caused this exception to be thrown. Refer to NI-DAQmx Driver Error Codes for a list of possible values.
inner
Type: SystemException
The exception that caused this exception.

See Also

Log in to get a better experience