SPDeployment.Error Event
Event that is raised when the deployment operation encounters an error or a warning.
Namespace: Microsoft.SharePoint.Deployment
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Event Error As EventHandler(Of SPDeploymentErrorEventArgs)
'Usage
Dim instance As SPDeployment
Dim handler As EventHandler(Of SPDeploymentErrorEventArgs)
AddHandler instance.Error, handler
public event EventHandler<SPDeploymentErrorEventArgs> Error
Examples
The event handler receives an argument of type SPDeploymentErrorEventArgs containing data related to this event.