共用方式為


SPException.NativeErrorMessage property

取得與這個SPException物件相關聯的原生程式碼錯誤訊息。

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

Syntax

'宣告
Public ReadOnly Property NativeErrorMessage As String
    Get
'用途
Dim instance As SPException
Dim value As String

value = instance.NativeErrorMessage
public string NativeErrorMessage { get; }

Property value

Type: System.String
String
原生程式碼錯誤訊息。

請參閱

參照

SPException class

SPException members

Microsoft.SharePoint namespace