Task.Close Method

Releases the COM interfaces for this task.

Namespace:  Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler
Assembly:  Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)

Syntax

'Declaration
Public Sub Close
'Usage
Dim instance As Task

instance.Close()
public void Close()

Remarks

Accessing task members after a task is closed throws a a null reference (Nothing in Visual Basic) reference exception.

See Also

Reference

Task Class

Task Members

Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler Namespace