SPDeployment.Error event
部署作業遇到錯誤或警告時所引發的事件。
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
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
Examples
事件處理常式會收到包含與此事件相關的資料型別SPDeploymentErrorEventArgs引數。