Table of Contents

Constructor ServiceConfiguration

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

ServiceConfiguration(IDms, string)

Initializes a new instance of the ServiceConfiguration class. The parameter settings need to be added to create the service.

public ServiceConfiguration(IDms dms, string serviceName)

Parameters

dms IDms

The IDms interface.

serviceName string

The service name.

Remarks

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

Exceptions

ArgumentNullException

serviceName is null.

ArgumentNullException

dms is null.

ArgumentException

serviceName is empty or white space.

ArgumentException

serviceName exceeds 200 characters.

ArgumentException

serviceName contains a forbidden character.

ArgumentException

serviceName contains more than one '%' character.