コード例 #1
0
        /// <summary>
        /// Get ERRORCODEANDLOCATION Records from ERR
        /// </summary>
        public static IEnumerable GetERRORCODEANDLOCATIONRecords(this ERR message)
        {
            object[] result = message.GetRecords("ERRORCODEANDLOCATIONRepetitionsUsed", "GetERRORCODEANDLOCATION");

            if ((result != null) && (result.Count() > 0))
            {
                for (int i = 0; i < result.Count(); i++)
                {
                    yield return(result[i]);
                }
            }
        }