static void OnRtnError(object sender, ref ErrorField error) { Console.WriteLine("BB" + error.XErrorID + error.RawErrorID + error.Text()); }
static void OnRtnError(object sender, ref ErrorField error) { Console.WriteLine("BB" + error.XErrorID + error.RawErrorID + error.Text()); }
public static string ToFormattedString([In] this ErrorField field) { return(string.Format("[XErrorID={0};RawErrorID={1};Text={2};Source={3}]", field.XErrorID, field.RawErrorID, field.Text(), field.Source)); }