SPDeployment.Error 事件
部署操作遇到错误或警告时引发的事件。
命名空间: Microsoft.SharePoint.Deployment
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Event Error As EventHandler(Of SPDeploymentErrorEventArgs)
用法
Dim instance As SPDeployment
Dim handler As EventHandler(Of SPDeploymentErrorEventArgs)
AddHandler instance.Error, handler
public event EventHandler<SPDeploymentErrorEventArgs> Error
示例
该事件处理程序接收一个类型SPDeploymentErrorEventArgs ,包含与此事件相关的数据。