AddInPostDeploymentActionArgs 构造函数
初始化 AddInPostDeploymentActionArgs 类的新实例。
命名空间: Microsoft.VisualStudio.Tools.Applications.Deployment
程序集: Microsoft.VisualStudio.Tools.Applications.Runtime(在 Microsoft.VisualStudio.Tools.Applications.Runtime.dll 中)
语法
声明
Public Sub New ( _
manifestLocation As Uri, _
installationStatus As AddInInstallationStatus, _
deploymentManifestXml As String, _
applicationManifestXml As String, _
hostManifestXml As String, _
postActionManifestXml As String, _
productName As String, _
version As String, _
addInPath As String _
)
public AddInPostDeploymentActionArgs(
Uri manifestLocation,
AddInInstallationStatus installationStatus,
string deploymentManifestXml,
string applicationManifestXml,
string hostManifestXml,
string postActionManifestXml,
string productName,
string version,
string addInPath
)
参数
- manifestLocation
类型:System.Uri
获取部署清单的位置。
- installationStatus
类型:Microsoft.VisualStudio.Tools.Applications.Deployment.AddInInstallationStatus
获取正在执行的外接程序安装的类型。
- deploymentManifestXml
类型:System.String
获取外接程序的部署清单。
- applicationManifestXml
类型:System.String
获取外接程序的应用程序清单。
- hostManifestXml
类型:System.String
获取宿主应用程序的应用程序清单。
- postActionManifestXml
类型:System.String
获取后期部署操作的应用程序清单。
- productName
类型:System.String
获取部署清单中定义的外接程序的名称。
- version
类型:System.String
获取正在下载的外接程序的版本。
- addInPath
类型:System.String
获取外接程序的位置。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。