OperationCounter Class

Definition

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.

Applies to