Base class for task results that are generated by the task processing of a CrawlerEngine    Task results should be created in the StartWork() method and be assigned to the TaskResult property before any other work is done.

The following tables list the members exposed by the TaskResultBase type.

Public Constructors

 

Name

Description

Public constructor Supported by the .NET Compact Framework.

TaskResultBase

Initializes a new instance of the TaskResultBase class.

Top

Public Properties

 

Name

Description

Public property Supported by the .NET Compact Framework.

Context

Gets or sets the Context (user data)

Public property Supported by the .NET Compact Framework.

ContextDiscriminator

Gets the context discriminator. (user data)

Public property Supported by the .NET Compact Framework.

ContextIndex

Gets the context index. (user data)

Public property Supported by the .NET Compact Framework.

ExternalId

Gets the external unique identifier. (user data)

Public property Supported by the .NET Compact Framework.

FatalException

Gets or sets the fatal exception which indicates an fatal error and an incomplete task.    A fatal exception is set when an unexpected error occurs.    A typical example is an exception in the StartWork() method, which mustn't occur unhanded.    Such a task workflow is malformed, because it should handle all errors and return meaningful results.

Public property Supported by the .NET Compact Framework.

OperationCosts

Gets or sets the operation costs of the task.    These operation costs are the aggregated costs of the Expense workflow element costs in the workflow of this task.

Public property Supported by the .NET Compact Framework.

ProcessingInfos

Gets or sets the task processing informations.    This reflects the workflow of this task. Its primary purpose is debugging and logging.

Public property Supported by the .NET Compact Framework.

Success

Gets or sets a value indicating whether this TaskResultBase is successful.    Every Workflow element maintains a Success property and propagates failure to its parent, which is at leas the task itself.

Public property Supported by the .NET Compact Framework.

TaskDuration

Gets the duration of the task.

Public property Supported by the .NET Compact Framework.

TaskEnd

Gets or sets the date and time when the task was finished on the engine.

Public property Supported by the .NET Compact Framework.

TaskNumber

Gets the number of the task.

Public property Supported by the .NET Compact Framework.

TaskResultProcessing

Gets or sets the kind of task result processing.

Public property Supported by the .NET Compact Framework.

TaskStart

Gets or sets  the date and time when the task was started on the engine.

Top

Public Methods

 

Name

Description

Public method

Equals

(Overloaded) Determines whether the specified Object is equal to the current Object. (inherited from Object).

Public method

GetHashCode

Serves as a hash function for a particular type. (inherited from Object).

Public method

GetType

(Overloaded) Gets the Type of the current instance. (inherited from Object).

Public method Supported by the .NET Compact Framework.

Process

Processes this task result.

Public method Static

ReferenceEquals

Determines whether the specified Object instances are the same instance. (inherited from Object).

Public method Supported by the .NET Compact Framework.

ToString

Returns a String that represents this instance.

Top

Protected Methods

 

Name

Description

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (inherited from Object).

Top

See Also