Show / Hide Table of Contents

Class PackageDeployment

Contains a package deployment for a specific device.

Inheritance
System.Object
PackageDeployment
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.WindowsPC.dll
Syntax
public class PackageDeployment : DeploymentBase

Constructors

View Source

PackageDeployment(IDevice, DeploymentFactoryBase, ParameterInfo[])

Initializes a new instance of the PackageDeployment class.

Declaration
public PackageDeployment(IDevice device, DeploymentFactoryBase factory, ParameterInfo[] deploymentParameters)
Parameters
Type Name Description
IDevice device

The device targeted for the deployment.

DeploymentFactoryBase factory

The factory used to create the deployment.

ParameterInfo[] deploymentParameters

The parameters corresponding to this deployment.

Properties

View Source

AppPackage

Gets the app package path.

Declaration
public string AppPackage { get; }
Property Value
Type Description
System.String
View Source

DependencyPaths

Gets the optional dependency paths.

Declaration
public IList<string> DependencyPaths { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>
View Source

DisplayName

Gets the display name for the deployment.

Declaration
public override string DisplayName { get; }
Property Value
Type Description
System.String

Methods

View Source

StartDeploymentInternal(IProgress<DeploymentProgressInfo>, CancellationToken)

Starts the deployment.

Declaration
protected override Task<bool> StartDeploymentInternal(IProgress<DeploymentProgressInfo> reportProgress, CancellationToken token)
Parameters
Type Name Description
System.IProgress<DeploymentProgressInfo> reportProgress

the callback for reporting progress.

System.Threading.CancellationToken token

the cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

The task for the deployment

  • View Source
In This Article
Back to top Generated by DocFX