static void OnRtnError(object sender, ref ErrorField error) { Console.WriteLine("BB" + error.ErrorID + error.ErrorMsg()); }
public static string ToFormattedString(this ErrorField field) { return(string.Format("[ErrorID={0},ErrorMsg={1}]", field.ErrorID, field.ErrorMsg())); }