Task.Priority Property

Gets or sets the priority for the task process.

Namespace:  Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler
Assembly:  Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)

Syntax

'Declaration
Public Property Priority As ProcessPriorityClass
    Get
    Set
'Usage
Dim instance As Task
Dim value As ProcessPriorityClass

value = instance.Priority

instance.Priority = value
public ProcessPriorityClass Priority { get; set; }

Property Value

Type: System.Diagnostics.ProcessPriorityClass
The priority for the task process.

Remarks

The Process.PriorityClass defines two levels—AboveNormal and BelowNormal—that are not documented in the task scheduler interface and cannot be used on Microsoft Windows 98, Microsoft Windows 98SE, or Microsoft Windows ME.

See Also

Reference

Task Class

Task Members

Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler Namespace