OperationCounter Class
Definition
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
Constructors
OperationCounter() |
Initializes a new instance of the OperationCounter class. |
Properties
Count |
Gets the operation count. |
Methods
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. |
Events
Completed |
Occurs when an asynchronous method completes. |