IErrors
Description:
IErrors is a collection in which errors are collected that are returned by the server during an operation.
import "OxSvrSpt.idl"
Note:
The keyword "errorX" is used for individual entries, where X is the position of the error in the collection. However, this keyword is rarely used. Instead, you should query the collection either using foreach or by position.
Properties:
long Count [get]
long ResponseResult [get]
IError Item([in] VARIANT Index) [get]
Documentation of Properties:
-
long Count [get]
Count returns the number of elements in the collection.
Parameters:
[out]: plNumber (VB return value) number of elements in the collection.
-
IError Item([in] VARIANT Index) [get]
Item returns the specified element of the collection based on position or key.
If a position outside the valid index is specified, an error with the error value errCollectionIndexOutOfRange is returned. If the item cannot be found, an error with the value errCollectionItemNotFound is returned.
Parameters:
[in]: Index position or name of the requested element
[out]: pptItem corresponding JobError object
-
long ResponseResult [get]
ResponseResult returns the return value of the server call that caused the error.
Parameters:
[out]: pVal (VB return value) return value of the server call.
-
long ResultCode [get]
ResultCode returns the last error value of the server call.
Parameters:
[out]: pVal (VB return value) server error value.