Constructor AppPackageProtocolBuilder
- Namespace
- Skyline.AppInstaller
- Assembly
- Skyline.DataMiner.Core.AppPackageCreator.dll
AppPackageProtocolBuilder(string, string, string)
Initializes a new instance of the AppPackageProtocol.AppPackageProtocolBuilder class using the specified name, version and protocol file.
public AppPackageProtocolBuilder(string name, string version, string protocolFilePath)
Parameters
name
stringThe protocol name.
version
stringThe protocol version.
protocolFilePath
stringThe protocol file path.
Exceptions
- ArgumentNullException
name
,version
orprotocolFilePath
is null.- ArgumentException
name
,version
orprotocolFilePath
is empty or white space or the file does not exist.
AppPackageProtocolBuilder(string, string, byte[])
Initializes a new instance of the AppPackageProtocol.AppPackageProtocolBuilder class using the specified name, version and protocol file.
public AppPackageProtocolBuilder(string name, string version, byte[] protocolContent)
Parameters
name
stringThe protocol name.
version
stringThe protocol version.
protocolContent
byte[]The protocol content.
Exceptions
- ArgumentNullException
name
,version
orprotocolContent
is null.- ArgumentException
name
orversion
is empty or white space.