Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPEventReceiverStatus Enumeration
Collapse the table of content
Expand the table of content

SPEventReceiverStatus Enumeration

Specifies the status returned from executing an event receiver.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[SubsetCallableTypeAttribute]
public enum SPEventReceiverStatus

Member nameDescription
ContinueThe event is allowed to continue.
CancelNoErrorThe event is cancelled but no error message is displayed.
CancelWithErrorThe event is cancelled and an error message is displayed.
CancelWithRedirectUrlThe event is cancelled, but a URL is provided that redirects the user to a custom error message page, or to any desired URL.
Show:
© 2015 Microsoft