Click or drag to resize
IResult Methods

The IResult type exposes the following members.

Methods
  NameDescription
Public methodAdd
Add the specified item to the result
Public methodAssertItem
Return a single item. If that is not possible, throw an appropriate exception (e.g. the exception returned by the server where possible)
Public methodAssertItems
Return an enumerable of items. Throw an exception for any error including 'No items found'
(Inherited from IReadOnlyResult.)
Public methodAssertNoError
Do nothing other than throw an exception if there is an error other than 'No Items Found'
(Inherited from IReadOnlyResult.)
Public methodErrorContext
Specify the context of the error message
(Inherited from IErrorBuilder.)
Public methodErrorMsg(String)
Add an error message
(Inherited from IErrorBuilder.)
Public methodErrorMsg(String, IEnumerableString)
Add an error message specifying the properties the message pertains to
(Inherited from IErrorBuilder.)
Public methodErrorMsg(String, String)
Add an error message specifying the properties the message pertains to
(Inherited from IErrorBuilder.)
Public methodItems
Return an enumerable of items. Throw an exception if there is an error other than 'No Items Found'
(Inherited from IReadOnlyResult.)
Public methodToAml
Render the node to a string
(Inherited from IAmlNode.)
Public methodToAml(XmlWriter)
Write the node to the specified XmlWriter
(Inherited from IAmlNode.)
Top
Extension Methods
  NameDescription
Public Extension MethodToXml
Renders an AML node to XML
(Defined by ItemExtensions.)
Top
See Also