ITask Members

Defines a task.

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

Public Properties

  Name Description
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 WorkDirectory Retrieves or sets the startup directory for the task.

Top

Public Methods

  Name Description
public method SetEnvironmentVariable Sets the task-specific environment variable.
public method SetExtendedTaskTerm Sets the application-defined extended term for the task.

Top

See Also

Reference

ITask Interface
Microsoft.ComputeCluster Namespace
IJob Interface
ICluster Interface