| Keysight.Visa Namespace : VisaSession Class |

'DeclarationPublic MustInherit Class VisaSession Implements Ivi.Visa.INativeVisaSession, Ivi.Visa.IVisaSession, IKeysightNativeVisaSession
'UsageDim instance As VisaSession
public abstract class VisaSession : Ivi.Visa.INativeVisaSession, Ivi.Visa.IVisaSession, IKeysightNativeVisaSession
public ref class VisaSession abstract : public Ivi.Visa.INativeVisaSession, Ivi.Visa.IVisaSession, IKeysightNativeVisaSession
The VisaSession class must derive from IKeysightNativeVisaSession because Keysight VISA.NET sessions delegate their work to Keysight VISA. IKeysightNativeVisaSession allows limited access to underlying VISA features, primarily undocumented attributes.
The VisaSession class must derive from IDisposable because it must be able to dispose of unmanaged resources including the corresponding sessions in the underlying VISA C implementation.
Although it is technically possible, Keysight recomends that customers not derive custom classes from this class. Attempts to override some methods may result in a stack overflow when the method is called.
For more information, see Resources and Sessions.
System.Object
Keysight.Visa.VisaSession
Keysight.Visa.GpibInterfaceSession
Keysight.Visa.MessageBasedSession
Keysight.Visa.PxiBackplaneSession
Keysight.Visa.RegisterBasedSession
Keysight.Visa.VxiBackplaneSession
Current with Keysight IO Libraries Suite 18