|Download Help (Windows Only)|
Releases the unmanaged resources used by Session and optionally releases the managed resources associated with this object.
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 18.104.22.168
|Visual Basic (Declaration)|
Protected Overridable Sub Dispose ( _ disposing As Boolean _ )
protected virtual void Dispose( bool disposing )
The public Dispose method and the finalizer call this method. The public Dispose invokes the protected Dispose method with disposing set to true (True in Visual Basic). The finalizer invokes The public Dispose with disposing set to false (False in Visual Basic).
When you set the disposing parameter to true (True in Visual Basic), this method releases all resources held by managed objects that Session references. This method invokes the The public Dispose method of each referenced object.