OperationCounter OperationCounter 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
OperationCounterOperationCounterOperationCounter

Constructors

OperationCounter() OperationCounter() OperationCounter()

Initializes a new instance of the OperationCounter class.

Properties

Count Count Count

Gets the operation count.

Methods

Decrement() Decrement() Decrement()

Reduces the operation count by 1.

Decrement(Int32) Decrement(Int32) Decrement(Int32)

Reduces the operation count by the specified value.

Increment() Increment() Increment()

Increments the operation count by one.

Increment(Int32) Increment(Int32) Increment(Int32)

Increments the operation count by the specified value.

Events

Completed Completed Completed

Occurs when an asynchronous method completes.

Applies to