Click or drag to resize
IResult Interface
Represents a modifiable result of an Aras query that can either be a string, an exception, or zero or more items

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public interface IResult : IReadOnlyResult, 
	IAmlNode, IErrorBuilder

The IResult type exposes the following members.

Properties
  NameDescription
Public propertyException
Return an exception (if there is one), otherwise, return null
(Inherited from IReadOnlyResult.)
Public propertyValue
Return the string value of the result
Top
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