static void OnRtnError(object sender, ref ErrorField error) { Console.WriteLine("BB" + error.ErrorID + error.ErrorMsg()); }
static void OnRtnError(object sender, ref ErrorField error) { Console.WriteLine("BB" + error.XErrorID + error.RawErrorID + error.Text()); }