Click or drag to resize

TaskInfo Methods

The TaskInfo type exposes the following members.

Methods
  NameDescription
Public methodCanCastTTargetDirective
Resolves whether the true, underlying directive type is assignable to the target directive type.
Public methodCastTTargetDirective
Casts a TaskInfo to one with a specific directive.
Public methodStatic memberFactoryTDirective
Creates a task info. Replaces using the generic constructor, when the actual type isn't known until runtime.
Protected methodGetDirective
Helper to delegate to generic implementation.
Public methodStatic memberParse(Type, String)
Parses json into a corresponding TaskInfo object.
Public methodStatic memberParse(TaskManager, String)
Parses json into a corresponding TaskInfo object, using the TaskManager to determine which directive type is used.
Public methodStatic memberParseTDirective(String)
Parses json into a corresponding TaskInfo object.
Protected methodSetDirective
Helper to delegate to generic implementation.
Public methodSetDirectiveData
Sets the directive with raw data from an application task info.
Public methodSetProgress
Sets the status with raw progress string from an application task info.
Public methodToJson
Serializes the instance to JSON.
Top
See Also