IResult Methods |
The IResult type exposes the following members.
Name | Description | |
---|---|---|
Add | Add the specified item to the result | |
AssertItem | Return a single item. If that is not possible, throw an appropriate
exception (e.g. the exception returned by the server where possible) | |
AssertItems | Return an enumerable of items. Throw an exception for any error including 'No items found' (Inherited from IReadOnlyResult.) | |
AssertNoError | Do nothing other than throw an exception if there is an error other than 'No Items Found' (Inherited from IReadOnlyResult.) | |
ErrorContext |
Specify the context of the error message
(Inherited from IErrorBuilder.) | |
ErrorMsg(String) |
Add an error message
(Inherited from IErrorBuilder.) | |
ErrorMsg(String, IEnumerableString) |
Add an error message specifying the properties the message pertains to
(Inherited from IErrorBuilder.) | |
ErrorMsg(String, String) |
Add an error message specifying the properties the message pertains to
(Inherited from IErrorBuilder.) | |
Items | Return an enumerable of items. Throw an exception if there is an error other than 'No Items Found' (Inherited from IReadOnlyResult.) | |
ToAml |
Render the node to a string
(Inherited from IAmlNode.) | |
ToAml(XmlWriter) |
Write the node to the specified XmlWriter (Inherited from IAmlNode.) |
Name | Description | |
---|---|---|
ToXml |
Renders an AML node to XML
(Defined by ItemExtensions.) |