Microsoft.Azure.Storage.Core.Util.CounterEventAsync
public CounterEventAsync()
Decrements the counter by one. If the counter reaches zero, sets the state of the event to signaled, allowing one or more waiting threads to proceed.
Increments the counter by one and thus sets the state of the event to non-signaled, causing threads to block.
Blocks the current thread until the CounterEvent is set.