SPEventPropertiesBase.Status Property
Gets or sets the status of trapping the event.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Property Value
Type: Microsoft.SharePoint.SPEventReceiverStatusA SPEventReceiverStatus value that specifies the status.
A value of Continue means that there is no error.
A value of CancelNoError means to silently cancel the request as if the request has succeeded.
A value of CancelWithError means to cancel the request with the error message specified in ErrorMessage.
A value of CancelWithRedirectUrl means to cancel the request and redirect to the URL specified in RedirectUrl.