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 | |
---|---|---|
AllocatedNodes | Retrieves and sets the list of compute nodes allocated to the task. | |
CommandLine | Retrieves or sets the command line for the task. | |
CreateTime | Retrieves the task creation time. | |
Depend | Retrieves or sets the dependent tasks. | |
EndTime | Retrieves the task end time. | |
EnvironmentVariables | Retrieves the environment variables that were set for the task. | |
ErrorMessage | Retrieves the task error message. | |
ExitCode | Retrieves the exit code for the task. | |
ExtendedTaskTerms | Retrieves the application-defined extended terms for the task. | |
Id | Retrieves the task identifier. | |
IsExclusive | Determines whether other tasks from the job can run on the node at the same time as this task. | |
IsRerunnable | Determines whether the task can be rerun after a failure. | |
MaximumNumberOfProcessors | Retrieves or sets the maximum number of processors required by the task. | |
MinimumNumberOfProcessors | Retrieves or sets the minimum number of processors required by the task. | |
Name | Retrieves or sets the display name of the task. | |
ParentJobId | Retrieves the identifier of the parent job. | |
RequiredNodes | Retrieves or sets the list of required nodes for the task. | |
Runtime | Retrieves or sets the run-time limit for the task. | |
StartTime | Retrieves the time that the task started running. | |
Status | Retrieves the task status. | |
Stderr | Redirects standard error to the specified file. | |
Stdin | Redirects standard input from the specified file. | |
Stdout | Redirects standard output to the specified file. | |
SubmitTime | Retrieves the time that the task was submitted. | |
Timestamp | Retrieves and sets the last time that the task was updated. | |
WorkDirectory | Retrieves or sets the startup directory for the task. |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
Equals | Overloaded. (Inherited from Object ) | |
GetHashCode | (Inherited from Object ) | |
GetType | (Inherited from Object ) | |
ReferenceEquals | (Inherited from Object ) | |
SetEnvironmentVariable | Sets the task-specific environment variable. | |
SetExtendedTaskTerm | Sets the application-defined extended term for the task. | |
ToString | (Inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object ) | |
MemberwiseClone | (Inherited from Object ) |
Top
See Also
Reference
Task Class
Microsoft.ComputeCluster Namespace
Job Class
Cluster Class