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