Click or drag to resize
OSIsoft, LLC

AFListResultsTKey, TResult Class

This class is used to return a list of results along with error information.
Inheritance Hierarchy
SystemObject
  OSIsoft.AFAFErrorsTKey
    OSIsoft.AFAFListResultsTKey, TResult

Namespace:  OSIsoft.AF
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public sealed class AFListResults<TKey, TResult> : AFErrors<TKey>, 
	IList<TResult>, ICollection<TResult>, IEnumerable<TResult>, 
	IEnumerable

Type Parameters

TKey
The type of keys in the Errors dictionary.
TResult
The type of values in the Results list.

The AFListResultsTKey, TResult type exposes the following members.

Constructors
  NameDescription
Public methodAFListResultsTKey, TResult
Initializes a new instance of the AFListResultsTKey, TResult class.
Public methodAFListResultsTKey, TResult(Int32)
Initializes a new instance of the AFListResultsTKey, TResult class.
Top
Properties
Methods
  NameDescription
Public methodAddError
Add an error that is not specific to a PISystem or PIServer.
(Inherited from AFErrorsTKey.)
Public methodAddPIServerError
Add a PIServer specific error.
(Inherited from AFErrorsTKey.)
Public methodAddPISystemError
Add a PISystem specific error.
(Inherited from AFErrorsTKey.)
Public methodAddResult
Add a result to the Results list.
Public methodAddResults
Add a list of results to the Results list.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
Remarks
This class is used to return a list of results along with error information from methods. This allows a list of inputs to be matched with the returned results and any errors.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5
See Also
Enabling Operational Intelligence