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

  Name Description
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Add(Int32, Int32) Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Add(Int64, Int64) Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 CompareExchange(Int32, Int32, Int32) Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 CompareExchange(Int64, Int64, Int64) Compares two 64-bit signed integers for equality and, if they are equal, replaces one of the values.
Public method Static member Supported by Silverlight for Windows Phone CompareExchange(Object, Object, Object) Compares two objects for reference equality and, if they are equal, replaces one of the objects.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 CompareExchange<T>(T, T, T) Compares two instances of the specified reference type T for equality and, if they are equal, replaces one of them.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Decrement(Int32) Decrements a specified 32-bit signed integer variable and stores the result, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Decrement(Int64) Decrements the specified 64-bit signed integer variable and stores the result, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Exchange(Int32, Int32) Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Exchange(Int64, Int64) Sets a 64-bit signed integer to a specified value and returns the original value, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Exchange<T>(T, T) Sets a variable of the specified type T to a specified value and returns the original value, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Increment(Int32) Increments a specified 32-bit signed variable and stores the result, as an atomic operation.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Increment(Int64) Increments a specified 64-bit signed integer variable and stores the result, as an atomic operation.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft