共用方式為


PSClientError Members

Include Protected Members
Include Inherited Members

Contains information about a SOAP exception for a PSI method.

The PSClientError type exposes the following members.

Constructors

  Name Description
Public method PSClientError(String) Creates an instance of the PSClientError class.
Public method PSClientError(SoapException) Creates an instance of the PSClientError class.

Top

Properties

  Name Description
Public property Count Number of errors reported by the PSClientError object.
Public property HasArrayErrors Specifies whether any errors reported by the PSClientError object are array errors for the PSI method.
Public property HasDataSetErrors Specifies whether any errors reported by the PSClientError object are DataSet errors for the PSI method.
Public property HasErrors Specifies whether the PSClientError object contains any errors from a PSI call.
Public property HasGeneralErrors Specifies whether the PSClientError object contains any general errors from a PSI call.
Public property LastError Gets the last error set in a SOAP exception for a PSI method call.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAllErrors Gets an array of PSErrorInfo objects describing all current errors.
Public method GetAllGeneralErrors Gets an array of PSErrorInfo objects describing all current general errors of all classes.
Public method GetArrayItemErrors Gets an array of PSErrorInfo objects describing each error on the specified array item in a SOAP exception for a PSI method call.
Public method GetArrayNames Gets the names of arrays the PSClientError object contains for a PSI method call.
Public method GetDataSetNames Gets the names of datasets that contain errors for a PSI method call.
Public method GetErrorArray(String) Gets an array containing all the items which were set as error items in a SOAP exception for a PSI method call.
Public method GetErrorArray(String, List<[]>) Gets an array containing all the items which were set as error items in a SOAP exception for a PSI method call.
Public method GetErrorDataSet(String) Gets the specified DataSet that contains all tables and rows which have had errors previously set for a PSI method call.
Public method GetErrorDataSet(String, List<[]>) Gets a DataSet that contains all tables and rows which have had errors previously set for a PSI method call.
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Stores the error message string for use during serialization.
Public method GetRowErrors Gets an array of PSErrorInfo objects which contain all the error information about errors on the specified DataRow.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ErrorColumnName Name of the column added to the error DataSet if a List<PSErrorInfo[]> of PSErrorInfo objects is requested.

Top

See Also

Reference

PSClientError Class

Microsoft.Office.Project.Server.Library Namespace