Returns a new "error" item.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public Item newError(
	string explanation
)
Visual Basic (Declaration)
Public Function newError ( _
	explanation As String _
) As Item
J#
public Item newError(
	String explanation
)
JScript
public function newError(
	explanation : String
) : Item

Parameters

explanation
Type: System..::.String
Is used to populate the <faultstring> tag inside <Fault> node. According to the SOAP 1.1 specification the faultstring element is intended to provide a human readable explanation of the fault and is not intended for algorithmic processing. Note, that passed message is set as InnerText on the <faultstring> element without any pre-processing, so symbols like '<', '>', etc. will be escaped.

Return Value

Created "error" item.

See Also