Show / Hide Table of Contents

# Interface Task

Represents a task that may take a few iterations to complete.

###### Namespace: Apache.NMS.ActiveMQ.Threads

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public interface Task

### Methods

| Improve this Doc View Source

#### Iterate()

Performs some portion of the work that this Task object is assigned to complete. When the task is entirely finished this method should return false.

##### Declaration

    bool Iterate()

##### Returns

Type | Description
--- | ---
System.Boolean | A System.Boolean this indicates if this Task should be run again.