Partager via


PSClientError.GetArrayItemErrors Method

Gets an array of PSErrorInfo objects describing each error on the specified array item 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 Function GetArrayItemErrors ( _
    arrayName As String, _
    item As Object _
) As PSErrorInfo()
'Usage
Dim instance As PSClientError
Dim arrayName As String
Dim item As Object
Dim returnValue As PSErrorInfo()

returnValue = instance.GetArrayItemErrors(arrayName, _
    item)
public PSErrorInfo[] GetArrayItemErrors(
    string arrayName,
    Object item
)

Parameters

  • arrayName
    Type: System.String
    Name of the array, or a null reference (Nothing in Visual Basic) if the array has no name.
  • item
    Type: System.Object
    Item in the array to get error information about.

Return Value

Type: []
Array of PSErrorInfo objects.

See Also

Reference

PSClientError Class

PSClientError Members

Microsoft.Office.Project.Server.Library Namespace