DeploymentStepCompletedEventArgs 构造函数
使用提供的 ISharePointProjectItem 实例、部署步骤信息和部署上下文来初始化 DeploymentStepCompletedEventArgs 类的新实例。
命名空间: Microsoft.VisualStudio.SharePoint
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Sub New ( _
projectItem As ISharePointProjectItem, _
deploymentStepInfo As IDeploymentStepInfo, _
deploymentContext As ISharePointProjectItemDeploymentContext _
)
public DeploymentStepCompletedEventArgs(
ISharePointProjectItem projectItem,
IDeploymentStepInfo deploymentStepInfo,
ISharePointProjectItemDeploymentContext deploymentContext
)
参数
- projectItem
类型:Microsoft.VisualStudio.SharePoint.ISharePointProjectItem
ISharePointProjectItem 的一个实例。
- deploymentStepInfo
类型:Microsoft.VisualStudio.SharePoint.Deployment.IDeploymentStepInfo
刚刚完成的部署步骤。
- deploymentContext
类型:Microsoft.VisualStudio.SharePoint.Deployment.ISharePointProjectItemDeploymentContext
当前部署会话的部署上下文。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。