DeleteTask(string)
- Updated2026-02-05
- 1 minute(s) read
Deletes the specified task that is stored in Measurement & Automation Explorer (MAX).
Syntax
Namespace: NationalInstruments.DAQmx
public void DeleteTask(string persistedName)
Remarks
This method does not clear the copy of the task stored in memory.
Parameters
| Name | Type | Description |
|---|---|---|
| persistedName | string | The name of the task to delete. |
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |