Example #1
0
 public System.IAsyncResult BeginClose(  System.AsyncCallback callback )
 {
     CloseCallback ftpCallback = new CloseCallback( this.Close);
     return ftpCallback.BeginInvoke(callback, null);
 }
Example #2
0
        public System.IAsyncResult BeginClose(System.AsyncCallback callback)
        {
            CloseCallback ftpCallback = new CloseCallback(this.Close);

            return(ftpCallback.BeginInvoke(callback, null));
        }
Example #3
0
        /// <summary>
        /// Begins the close.
        /// </summary>
        /// <param name="callback">The callback.</param>
        /// <returns></returns>
        public IAsyncResult BeginClose(AsyncCallback callback)
        {
            CloseCallback ftpCallback = Close;

            return(ftpCallback.BeginInvoke(callback, null));
        }