OperationCounter Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a container that maintains a count of pending asynchronous operations.
public sealed class OperationCounter
type OperationCounter = class
Public NotInheritable Class OperationCounter
- Inheritance
-
OperationCounter
Operation |
Initializes a new instance of the OperationCounter class. |
Count |
Gets the operation count. |
Decrement() |
Reduces the operation count by 1. |
Decrement(Int32) |
Reduces the operation count by the specified value. |
Increment() |
Increments the operation count by one. |
Increment(Int32) |
Increments the operation count by the specified value. |
Completed |
Occurs when an asynchronous method completes. |