DeploymentStepStartedEventArgs 建構函式
使用提供的 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。