Constructor Source
- Assembly
- Skyline.DataMiner.Core.InterAppCalls.Common.dll
Source()
Initializes a new instance of the Source class.
public Source()
Source(string)
Initializes a new instance of the Source class using the specified name.
public Source(string name)
Parameters
name
stringA textual representation of the source.
Exceptions
- ArgumentNullException
Name is null empty or white space.
Source(string, int, int)
Initializes a new instance of the Source class using the specified name, DataMiner Agent ID and element ID.
public Source(string name, int agentId, int elementId)
Parameters
name
stringA textual representation of the source.
agentId
intThe DataMiner Agent ID.
elementId
intThe element ID.
Exceptions
- ArgumentNullException
name
is null.- ArgumentException
agentId
orelementId
is negative.