Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

MES Stateful API

Result Structure

All methods in aaFactMES return a standard Result structure. This structure has a Boolean Success member that can be checked to determine if the method executed without an error. If an error was detected, Success will be false and the Exception member will contain the caught Exception class.

If the wrapped method returns a value, this value will be available in the Value member. The Value member is of type object, so it typically needs to be assigned to a variable of the expected result type. Alternatively, the method return value is also stored in the appropriately typed member property. There is a typed member property for each possible type returned by aaFactMES methods.

Result Properties Table

The following is the Stateful API wrapper result properties table:

Property

Data Type

Success

Bool

Value

Object

Exception

System.Exception

aaStatsRow_Value

aaPerformanceStats.aaStatsRow

IEnumerator_Value

IEnumerator

DataTable_Value

DataTable

XmlSchemaComplexType_Value

XmlSchemaComplexType

Boolean_Value

Boolean

DataSet_Value

DataSet

aaProgressLogger_Value

aaProgressLogger

aaProgressItem_Value

aaProgressItem

Int32_Value

Int32

DateTime_Value

DateTime

DataRow_Value

DataRow

aaattrValue_Value

aaAttrs.aaattrValue

String_Value

String

aaClientSession_Value

aaClientSession

aaLangStrings_Value

aaLangStrings

ArrayList_Value

ArrayList

Double_Value

Double

FileInfo_Value

FileInfo

List_Value

IList

Object_Array_Value

Object[]

Array_Value

Array

aaItem_Value

aaItem

aaItemClass_Value

aaItemClass

aaItemAttr_Value

aaItemAttr

aaItemClassAttr_Value

aaItemClassAttr

aaLotAttr_Value

aaLotAttr

aaItemGrades_Value

aaItemGrades

aaItemStates_Value

aaItemStates

Hashtable_Value

Hashtable

DataView_Value

DataView

aaJobAttr_Value

aaJobAttr

aaJobSpec_Value

aaJobSpec

aaWOAttr_Value

aaWOAttr

Color_Value

Color

Image_Value

Image

List_IUIExtensionControl_Value

List

aaPriv_Value

aaPriv

DialogResult_Value

DialogResult

ButtonBar_Value

ButtonBar

Control_Value

Control

aaitemGrade_Value

aaUtility.aaitemGrade

Int32_Array_Value

Int32[]

 

TitleResults for “How to create a CRG?”Also Available in