共用方式為


SPEventPropertiesBase.ErrorMessage property

取得或設定錯誤訊息, Microsoft SharePoint Foundation會顯示事件時已被取消。

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
字串,包含錯誤訊息。

請參閱

參照

SPEventPropertiesBase class

SPEventPropertiesBase members

Microsoft.SharePoint namespace