Partilhar via


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

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.

See Also

Reference

SPEventPropertiesBase Class

SPEventPropertiesBase Members

Microsoft.SharePoint Namespace