Partager via


PSClientError.GetErrorArray Method (String)

Gets an array containing all the items which were set as error items 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 GetErrorArray ( _
    arrayName As String _
) As Object()
'Usage
Dim instance As PSClientError
Dim arrayName As String
Dim returnValue As Object()

returnValue = instance.GetErrorArray(arrayName)
public Object[] GetErrorArray(
    string arrayName
)

Parameters

  • arrayName
    Type: System.String
    Name of the array, or a null reference (Nothing in Visual Basic) if the array has no name.

Return Value

Type: []
Array of error items.

Remarks

The type of the returned object array is the same as the type of the original array items.

See Also

Reference

PSClientError Class

PSClientError Members

GetErrorArray Overload

Microsoft.Office.Project.Server.Library Namespace