Class PushDeployment
Contains a push deployment for a specific device.
Inheritance
System.Object
PushDeployment
Namespace: Phoenix.Devices
Assembly: Phoenix.Devices.Xbox.dll
Syntax
public class PushDeployment : DeploymentBase
Constructors
View SourcePushDeployment(IDevice, DeploymentFactoryBase, ParameterInfo[])
Initializes a new instance of the PushDeployment class.
Declaration
public PushDeployment(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 SourceBuildPath
Gets the path to the build.
Declaration
public string BuildPath { get; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Gets the display name for the deployment.
Declaration
public override string DisplayName { get; }
Property Value
Type | Description |
---|---|
System.String |
RemoveExtraFiles
Gets a value indicating whether or not the deployment will remove extra files.
Declaration
public bool RemoveExtraFiles { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
View SourceStartDeploymentInternal(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 |