共用方式為


SPEventPropertiesBase.ErrorMessage Property

Gets or sets the error message that Windows SharePoint Services displays when an event is cancelled.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Property ErrorMessage As String
    Get
    Set

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