共用方式為


CloudTask.RequiredSlots Property

Definition

Gets or sets the number of scheduling slots that the Task required to run.

public int? RequiredSlots { get; set; }
member this.RequiredSlots : Nullable<int> with get, set
Public Property RequiredSlots As Nullable(Of Integer)

Property Value

Remarks

The default is 1. A Task can only be scheduled to run on a compute node if the node has enough free scheduling slots available. For multi-instance Tasks, this must be 1.

Applies to