Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.