ESRI.ArcGIS.ADF.Web.UI.WebControls
StartTaskActivityIndicator Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TaskResults Class : StartTaskActivityIndicator Method




task
The specified task that initiated the task results item.
taskJobID
Unique ID for the task. Identifies the task results within the TaskResults nodes.
Displays a task activity indicator in the task results. Used during a callback to show task progress.

Syntax

Visual Basic (Declaration) 
Public Sub StartTaskActivityIndicator( _
   ByVal task As ITask, _
   ByVal taskJobID As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As TaskResults
Dim task As ITask
Dim taskJobID As String
 
instance.StartTaskActivityIndicator(task, taskJobID)
C# 
public void StartTaskActivityIndicator( 
   ITask task,
   string taskJobID
)

Parameters

task
The specified task that initiated the task results item.
taskJobID
Unique ID for the task. Identifies the task results within the TaskResults nodes.

Remarks

When a task runs, it may initially display an indication that the task is working by adding a new node to the task results. This node is of type ActivityIndicatorNode. This node displays an animated icon to indicate that the task is in progress. When the task completes and sends its results to the page, this indicator node is replaced with a node that contains the actual task results.

See Also

© 2010 All Rights Reserved.