Dispose(bool)
- Updated2026-02-03
- 1 minute(s) read
Releases the managed and unmanaged resources used by Task or optionally releases only the unmanaged resources.
Syntax
Namespace: NationalInstruments.DAQmx
protected void Dispose([MarshalAs(UnmanagedType.U1)] bool A_0)
Remarks
Refer to Cleaning Up Unmanaged Resources for more information on implementing a Dispose method and using objects that implement IDisposable.
Parameters
| Name | Type | Description |
|---|---|---|
| A_0 | bool | true to release both managed and unmanaged resources used by SwitchChannel; false to release only unmanaged resources used by SwitchChannel. |