Interlocked Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The Interlocked type exposes the following members.

  Name Description
Public method Static member CompareExchange Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values.
Public method Static member Decrement Decrements a specified variable and stores the result, as an atomic operation.
Public method Static member Exchange Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation.
Public method Static member Increment Increments a specified variable and stores the result, as an atomic operation.
Top
Show: