SchedulerCollection.SetAffinityToRange(Int32, Int32, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會將親和度設定為一系列 SchdulerNodes 提供的。若 SchdulerNode 不存在於 Range 中,此方法會拋出例外
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
起始索引
- endIndex
- Int32
終點索引
- affinityMask
- Boolean
親和力的價值