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)
Syntax
'Declaration
Public Property ErrorMessage As String
Get
Set
'Usage
Dim instance As SPEventPropertiesBase
Dim value As String
value = instance.ErrorMessage
instance.ErrorMessage = value
public string ErrorMessage { get; set; }
Property value
Type: System.String
A string that contains the error message.