CountdownEvent.TryAddCount 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
증분을 시도합니다 CurrentCount.
오버로드
| Name | Description |
|---|---|
| TryAddCount() |
1씩 증가 CurrentCount 하려고 시도합니다. |
| TryAddCount(Int32) |
지정된 값으로 증가 CurrentCount 하려고 시도합니다. |
TryAddCount()
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
1씩 증가 CurrentCount 하려고 시도합니다.
public:
bool TryAddCount();
public bool TryAddCount();
member this.TryAddCount : unit -> bool
Public Function TryAddCount () As Boolean
반품
false됩니다.
예외
현재 인스턴스가 이미 삭제되었습니다.
추가 정보
적용 대상
TryAddCount(Int32)
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
- Source:
- CountdownEvent.cs
지정된 값으로 증가 CurrentCount 하려고 시도합니다.
public:
bool TryAddCount(int signalCount);
public bool TryAddCount(int signalCount);
member this.TryAddCount : int -> bool
Public Function TryAddCount (signalCount As Integer) As Boolean
매개 변수
- signalCount
- Int32
늘릴 CurrentCount값입니다.
반품
false됩니다.
예외
현재 인스턴스가 이미 삭제되었습니다.
signalCount 가 0보다 작거나 같습니다.
CurrentCount
+
signalCount 가 Int32.MaxValue보다 크거나 같은 경우