共用方式為


IAddInPostDeploymentAction Interface

Represents a post-deployment action, which can perform additional installation steps as the final step in a ClickOnce installer.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Deployment
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Interface IAddInPostDeploymentAction
public interface IAddInPostDeploymentAction

The IAddInPostDeploymentAction type exposes the following members.

Methods

  Name Description
Public method Execute Runs the post-deployment action, which can perform additional installation steps as the final step in a ClickOnce installer.

Top

Remarks

The post-deployment action is part of the ClickOnce installation. If the post-deployment action fails, the installation fails.

See Also

Reference

Microsoft.VisualStudio.Tools.Applications.Deployment Namespace