Barrier.AddParticipant 메서드

정의

추가 참가자가 있을 것임을 알 Barrier 수 있습니다.

public:
 long AddParticipant();
public long AddParticipant();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public long AddParticipant();
member this.AddParticipant : unit -> int64
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
member this.AddParticipant : unit -> int64
Public Function AddParticipant () As Long

반품

새 참가자가 처음 참여할 장벽의 단계 번호입니다.

특성

예외

현재 인스턴스가 이미 삭제되었습니다.

참가자를 추가하면 장벽의 참가자 수가 32,767을 초과합니다.

-또는-

이 메서드는 사후 단계 작업 내에서 호출되었습니다.

설명

장벽이 현재 사후 단계 작업을 실행하는 경우 사후 단계 작업이 완료되고 장벽이 다음 단계로 넘어갈 때까지 이 호출이 차단됩니다.

적용 대상

추가 정보