public static string GetClassName(FieldCollection fc) { if (fc != null) { var fcFormat = new FieldCollectionFormat(); if (!fcFormat.IsEmptyStrField(fc, "ClassName")) return fc["ClassName"].GetValueAsString(); } return ""; }
public static string GetExceptionDescription(FieldCollection fc) { if (fc != null) { var fcFormat = new FieldCollectionFormat(); if (!fcFormat.IsEmptyStrField(fc, "ExceptionDescription")) return fc["ExceptionDescription"].GetValueAsString(); } return ""; }
public static UInt32 GetWAPMessageID(FieldCollection fc) { if(fc!=null) { var fcFormat = new FieldCollectionFormat(); if(!fcFormat.IsEmptyStrField(fc,"MessageID")) return (UInt32)fc["MessageID"].GetValueAsInt(); } return 0; }
public static int GetExceptionID(FieldCollection fc) { if (fc != null) { var fcFormat = new FieldCollectionFormat(); if (!fcFormat.IsEmptyStrField(fc, "ExceptionID")) return fc["ExceptionID"].GetValueAsInt(); } return 0; }