NI-DAQmx .NET Framework 4.0 API Reference

DaqException Constructor (String, Int32)

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

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

Syntax

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

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.

See Also

Log in to get a better experience