Table of Contents

Constructor ElementConfiguration

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

ElementConfiguration(IDms, string, IDmsProtocol)

Initializes a new instance of the ElementConfiguration class and defines by default a virtual connection.

public ElementConfiguration(IDms dms, string elementName, IDmsProtocol protocol)

Parameters

dms IDms

The IDms interface.

elementName string

The element name.

protocol IDmsProtocol

The protocol.

Remarks

Forbidden characters: '', '/', ':', '*', '?', '"', '<', '>', '|', '°', ';'.

Exceptions

ArgumentNullException

elementName is null.

ArgumentNullException

protocol is null.

ArgumentNullException

dms is null.

ArgumentException

elementName is empty or white space.

ArgumentException

elementName exceeds 200 characters.

ArgumentException

elementName contains a forbidden character.

ArgumentException

elementName contains more than one '%' character.

ElementConfiguration(IDms, string, IDmsProtocol, IEnumerable<IElementConnection>)

Initializes a new instance of the ElementConfiguration class.

public ElementConfiguration(IDms dms, string elementName, IDmsProtocol protocol, IEnumerable<IElementConnection> connectionInfo)

Parameters

dms IDms

The IDms interface.

elementName string

The element name.

protocol IDmsProtocol

The protocol.

connectionInfo IEnumerable<IElementConnection>

The Connections that will be used to create the element.

Remarks

Forbidden characters: '', '/', ':', '*', '?', '"', '<', '>', '|', '°', ';'.

Exceptions

ArgumentNullException

elementName is null.

ArgumentNullException

protocol is null.

ArgumentNullException

dms is null.

ArgumentException

elementName is empty or white space.

ArgumentException

elementName exceeds 200 characters.

ArgumentException

elementName contains a forbidden character.

ArgumentException

elementName contains more than one '%' character.