Returns a new "error" item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic Item newError(
string explanation
)
Public Function newError (
explanation As String
) As Item
public Item newError(
String explanation
)
public function newError(
explanation : String
) : Item
Parameters
- explanation
- Type: SystemString
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
Type:
ItemCreated "error" item.
See Also