共用方式為


SPException.NativeErrorMessage Property

Gets the native code error message that is associated with this SPException object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property NativeErrorMessage As String
    Get
'Usage
Dim instance As SPException
Dim value As String

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

Property Value

Type: System.String
String
The native code error message.

See Also

Reference

SPException Class

SPException Members

Microsoft.SharePoint Namespace