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

Name Description
OperationCounter()

Initializes a new instance of the OperationCounter class.

Properties

Name Description
Count

Gets the operation count.

Methods

Name Description
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

Name Description
Completed

Occurs when an asynchronous method completes.

Applies to