AddCount Method
Collapse the table of content
Expand the table of content

CountdownEvent.AddCount Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Increments the CountdownEvent's current count by one.

Namespace:  System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public void AddCount()

ExceptionCondition
ObjectDisposedException

The current instance has already been disposed.

InvalidOperationException

The current instance is already set.

-or-

CurrentCount is equal to or greater than MaxValue.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2016 Microsoft