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.
Exceptions
- ElementStoppedException
The element is stopped.
- ElementNotFoundException
The element was not found in the DataMiner System.
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.
Exceptions
- ElementNotFoundException
The element was not found.
- ElementStoppedException
The element is stopped.
- TimeoutException
Expected change took too long.
- FormatException
One of the provided parameters is missing data.
- ArgumentNullException
expectedChanges
orvalue
is null.