Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Interlocked Methods

The methods of the Interlocked class are listed here. For a complete list of Interlocked class members, see the Interlocked Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)CompareExchange

Supported by the .NET Compact Framework.

Overloaded. Compares two values for equality and, if they are equal, replaces one of the values.
public methodstatic (Shared in Visual Basic)Decrement

Supported by the .NET Compact Framework.

Overloaded. Decrements a specified variable and stores the result, as an atomic operation.
public methodstatic (Shared in Visual Basic)Exchange

Supported by the .NET Compact Framework.

Overloaded. Sets a variable to a specified value as an atomic operation.
public methodstatic (Shared in Visual Basic)Increment

Supported by the .NET Compact Framework.

Overloaded. Increments a specified variable and stores the result, as an atomic operation.

See Also

Interlocked Class | System.Threading Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft