共用方式為


PSClientError.LastError Property

Gets the last error set in a SOAP exception for a PSI method call.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public ReadOnly Property LastError As PSErrorID
    Get
'Usage
Dim instance As PSClientError
Dim value As PSErrorID

value = instance.LastError
public PSErrorID LastError { get; }

Property Value

Type: Microsoft.Office.Project.Server.Library.PSErrorID

See Also

Reference

PSClientError Class

PSClientError Members

Microsoft.Office.Project.Server.Library Namespace