Class TaskResult
Returns the blocking call of Map Reduce Task result form server.
Inheritance
System.Object
TaskResult
Namespace:
Assembly: Alachisoft.NCache.Web.dll
Syntax
public class TaskResult : ITaskResult
TaskResult(TaskCompletionStatus, String, Int16, String)
Declaration
public TaskResult(TaskCompletionStatus status, string taskId, short uniqueId, string reason)
Parameters
Type | Name | Description |
---|---|---|
TaskCompletionStatus | status | |
System.String | taskId | |
System.Int16 | uniqueId | |
System.String | reason |
TaskFailureReason
Returns reason behind the failure of task.
Declaration
public string TaskFailureReason { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
TaskManagement
Declaration
public ITaskManagement TaskManagement { set; }
Property Value
Type | Description |
---|---|
ITaskManagement |
TaskStatus
Return status of Task which can be failure, success or cancelled.
Declaration
public TaskCompletionStatus TaskStatus { get; }
Property Value
Type | Description |
---|---|
TaskCompletionStatus |
Implements
GetEnumerator()
Obtain the result in form of dictionary.
Declaration
public IDictionaryEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IDictionaryEnumerator | dictionary containing the MapReduce result |