Keysight VISA.NET Help
NativeVisaException Constructor(Int32,String,Exception)



The underlying VISA status code of the error that occurred.
The message that describes the error.
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Initializes a new instance of the NativeVisaException class with the specified message and VISA error code and a reference to the inner exception that is the cause of this exception.
Syntax
'Declaration
 
Public Function New( _
   ByVal errorCode As Integer, _
   ByVal message As String, _
   ByVal innerException As Exception _
)
'Usage
 
Dim errorCode As Integer
Dim message As String
Dim innerException As Exception
 
Dim instance As New NativeVisaException(errorCode, message, innerException)
public NativeVisaException( 
   int errorCode,
   string message,
   Exception innerException
)
public:
NativeVisaException( 
   int errorCode,
   String^ message,
   Exception^ innerException
)

Parameters

errorCode
The underlying VISA status code of the error that occurred.
message
The message that describes the error.
innerException
The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025