Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

VS2005 Exception Handling

I'm working on a C# app based on the new VISA NS.  In attempting to create an event handler to allow my app to get errors occuring in VISA I found that the NationalInstruments.VisaNS.EventArgs has no constructor based on the following VS2005 error.
Error 1 The type 'NationalInstruments.VisaNS.VisaEventArgs' has no constructors defined C:\Documents and Settings\Rod Rasmussen\My Documents\Visual Studio 2005\Projects\WindowsApplication2\WindowsApplication2\Form1.cs 32 39 WindowsApplication2
Any suggestions or insight?
0 Kudos
Message 1 of 3
(3,050 Views)
Hello RCube,
How are you trying to call VisaEventArgs?  If you post a small portion of your code I can take a look.
 
Regards,
Angela M
Applications Engineer
0 Kudos
Message 2 of 3
(3,027 Views)

Hi Angela,

Thank you for getting back to me so rapidly.  I was going to construct an event handler but found all I needed to do was to through an exception making the process simpler. 

Regards,

RCube

0 Kudos
Message 3 of 3
(3,013 Views)