/// <summary> /// Starts a basic process asynchronously /// </summary> public static void StartAsync(String path) { StartDelegate1 dlgt = Start; dlgt.BeginInvoke(path, ar => { try { dlgt.EndInvoke(ar); } catch (Exception ex) { // Something wrong, handling for possible leaks } }, null); }
/// <summary> /// Starts a basic process asynchronously /// </summary> public static void StartAsync(String path) { StartDelegate1 dlgt = new StartDelegate1(Start); dlgt.BeginInvoke(path, null, null); }