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)

'Declaration
Public Property ErrorMessage As String
	Get
	Set
'Usage
Dim instance As SPEventPropertiesBase
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value

Property value

Type: System.String
A string that contains the error message.
Show: