/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> public static void Main() { GetRecentlyUpdatedLineItems codeExample = new GetRecentlyUpdatedLineItems(); Console.WriteLine(codeExample.Description); codeExample.Run(new DfpUser()); }
/// <summary> /// Main method, to run this code example as a standalone application. /// </summary> public static void Main() { GetRecentlyUpdatedLineItems codeExample = new GetRecentlyUpdatedLineItems(); Console.WriteLine(codeExample.Description); try { codeExample.Run(new DfpUser()); } catch (Exception e) { Console.WriteLine("Failed to get line items. Exception says \"{0}\"", e.Message); } }