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
namestringThe protocol name.
versionstringThe protocol version.
protocolFilePathstringThe protocol file path.
Exceptions
- ArgumentNullException
name,versionorprotocolFilePathis null.- ArgumentException
name,versionorprotocolFilePathis 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
namestringThe protocol name.
versionstringThe protocol version.
protocolContentbyte[]The protocol content.
Exceptions
- ArgumentNullException
name,versionorprotocolContentis null.- ArgumentException
nameorversionis empty or white space.