Task Members

Defines a task.

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

Public Constructors

  Name Description
Task Overloaded. Initializes a new instance of the Task class.

Top

Public Properties

  Name Description
public property AllocatedNodes Retrieves and sets the list of compute nodes allocated to the task.
public property CommandLine Retrieves or sets the command line for the task.
public property CreateTime Retrieves the task creation time.
public property Depend Retrieves or sets the dependent tasks.
public property EndTime Retrieves the task end time.
public property EnvironmentVariables Retrieves the environment variables that were set for the task.
public property ErrorMessage Retrieves the task error message.
public property ExitCode Retrieves the exit code for the task.
public property ExtendedTaskTerms Retrieves the application-defined extended terms for the task.
public property Id Retrieves the task identifier.
public property IsExclusive Determines whether other tasks from the job can run on the node at the same time as this task.
public property IsRerunnable Determines whether the task can be rerun after a failure.
public property MaximumNumberOfProcessors Retrieves or sets the maximum number of processors required by the task.
public property MinimumNumberOfProcessors Retrieves or sets the minimum number of processors required by the task.
public property Name Retrieves or sets the display name of the task.
public property ParentJobId Retrieves the identifier of the parent job.
public property RequiredNodes Retrieves or sets the list of required nodes for the task.
public property Runtime Retrieves or sets the run-time limit for the task.
public property StartTime Retrieves the time that the task started running.
public property Status Retrieves the task status.
public property Stderr Redirects standard error to the specified file.
public property Stdin Redirects standard input from the specified file.
public property Stdout Redirects standard output to the specified file.
public property SubmitTime Retrieves the time that the task was submitted.
public property Timestamp Retrieves and sets the last time that the task was updated.
public property WorkDirectory Retrieves or sets the startup directory for the task.

Top

Public Methods

(see also Protected Methods )

  Name Description
public method Equals  Overloaded. (Inherited from Object )
public method GetHashCode  (Inherited from Object )
public method GetType  (Inherited from Object )
public method static ReferenceEquals  (Inherited from Object )
public method SetEnvironmentVariable Sets the task-specific environment variable.
public method SetExtendedTaskTerm Sets the application-defined extended term for the task.
public method ToString  (Inherited from Object )

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object )
protected method MemberwiseClone  (Inherited from Object )

Top

See Also

Reference

Task Class
Microsoft.ComputeCluster Namespace
Job Class
Cluster Class