Method SetValue
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
SetValue(T)
Sets the value of this parameter.
void SetValue(T value)
Parameters
value
TThe value to set.
Remarks
Make sure the element on which you perform the operation is active and the parameter exists. Otherwise, no exception will be thrown.
SetValue(T, TimeSpan, ExpectedChanges)
Sets the value of this parameter. Waits on specified expected changes.
void SetValue(T value, TimeSpan timeout, ExpectedChanges expectedChanges)
Parameters
value
TThe value to set.
timeout
TimeSpanMaximum time to wait for each expected change.
expectedChanges
ExpectedChangesOne or more expected changes.
Remarks
Make sure the element on which you perform the operation is active and the parameter exists. No exception will be thrown to indicate this.
Exceptions
- TimeoutException
Expected change took too long.
- FormatException
One of the provided parameters is missing data.
- ArgumentNullException
expectedChanges
orvalue
is null.