ErrorMessage Property
Collapse the table of content
Expand the table of content

SPEventPropertiesBase.ErrorMessage Property

Gets or sets the error message that Microsoft SharePoint Foundation displays when an event is cancelled.

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

public string ErrorMessage { get; set; }

Property Value

Type: System.String
A string that contains the error message.
© 2016 Microsoft