Method
HttpContextInterlocked.Exchange
Exchange(string, long) #
Atomically replaces the value associated with the specified name.
public double Exchange(string name, long value)Parameters #
name string
The name of the value.
value long
The replacement value.
Returns #
The original stored value, or value when the name was not present.
Exchange(string, double) #
Atomically replaces the value associated with the specified name.
public double Exchange(string name, double value)Parameters #
name string
The name of the value.
value double
The replacement value.
Returns #
The original stored value, or value when the name was not present.
Exchange(string, long) #
Atomically replaces the value associated with the specified name.
public double Exchange(string name, long value)Parameters #
name string
The name of the value.
value long
The replacement value.
Returns #
The original stored value, or value when the name was not present.
Exchange(string, double) #
Atomically replaces the value associated with the specified name.
public double Exchange(string name, double value)Parameters #
name string
The name of the value.
value double
The replacement value.
Returns #
The original stored value, or value when the name was not present.