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
valueTThe 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
valueTThe value to set.
timeoutTimeSpanMaximum time to wait for each expected change.
expectedChangesExpectedChangesOne 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
expectedChangesorvalueis null.