Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
		/// <summary>
		/// Starts a basic process asynchronously
		/// </summary>
		public static void StartAsync(String path)
		{
            StartDelegate1 dlgt = new StartDelegate1(Start);
            dlgt.BeginInvoke(path, null, null);
		}
Beispiel #3
0
        /// <summary>
        /// Starts a basic process asynchronously
        /// </summary>
        public static void StartAsync(String path)
        {
            StartDelegate1 dlgt = new StartDelegate1(Start);

            dlgt.BeginInvoke(path, null, null);
        }