语言

SchedulerCollection.SetAffinityToRange(Int32, Int32, Boolean) 方法

定义

将 Affinity 设置为提供的 SchdulerNodes 范围。如果 Range 中不存在 SchdulerNode,此方法将引发异常

public void SetAffinityToRange(int startIndex, int endIndex, bool affinityMask);
member this.SetAffinityToRange : int * int * bool -> unit
Public Sub SetAffinityToRange (startIndex As Integer, endIndex As Integer, affinityMask As Boolean)

参数

startIndex
Int32

start index

endIndex
Int32

结束索引

affinityMask
Boolean

相关性值

适用于