Barrier.RemoveParticipants(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
通知他們 Barrier 參與者將減少。
public:
void RemoveParticipants(int participantCount);
public void RemoveParticipants(int participantCount);
member this.RemoveParticipants : int -> unit
Public Sub RemoveParticipants (participantCount As Integer)
參數
- participantCount
- Int32
需要移除額外參與者的數量。
例外狀況
目前的實例已經被處理完畢。
總參與者數低於規定 participantCount
備註
若 participantCount 參與者已在等待障礙,移除即完成障礙,執行後階段動作,所有參與者被喚醒,彷彿該參與者已成功抵達障礙。