| IGlobalCacheIncrementValue Method (String, Int32) |
Add a given number to an integer value held in GlobalCache. This method is thread-safe.
Namespace:
Mavidian.DataConveyer.Orchestrators
Assembly:
DataConveyer (in DataConveyer.dll) Version: 3.4.6+1324144ff7
Syntax int IncrementValue(
string key,
int increment
)
Function IncrementValue (
key As String,
increment As Integer
) As Integer
Parameters
- key
- Type: SystemString
Key of the value to increment. - increment
- Type: SystemInt32
Value to increment by.
Return Value
Type:
Int32New (incremented) value.
Exceptions Exception | Condition |
---|
ArgumentException | Element for a given key does not exist or is of type other than int. |
See Also