public Task <TResult> FromAsync <TArg1, TArg2, TArg3>(Func <TArg1, TArg2, TArg3, AsyncCallback, object, IAsyncResult> beginMethod, Func <IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, TaskCreationOptions creationOptions)
 {
     return(TaskFactory <TResult> .FromAsyncImpl <TArg1, TArg2, TArg3>(beginMethod, endMethod, arg1, arg2, arg3, state, creationOptions));
 }
 public Task <TResult> FromAsync <TArg1, TArg2>(Func <TArg1, TArg2, AsyncCallback, object, IAsyncResult> beginMethod, Func <IAsyncResult, TResult> endMethod, TArg1 arg1, TArg2 arg2, object state)
 {
     return(TaskFactory <TResult> .FromAsyncImpl <TArg1, TArg2>(beginMethod, endMethod, arg1, arg2, state, this.m_defaultCreationOptions));
 }
        public Task <TResult> FromAsync(IAsyncResult asyncResult, Func <IAsyncResult, TResult> endMethod, TaskCreationOptions creationOptions, TaskScheduler scheduler)
        {
            StackCrawlMark lookForMyCaller = StackCrawlMark.LookForMyCaller;

            return(TaskFactory <TResult> .FromAsyncImpl(asyncResult, endMethod, creationOptions, scheduler, ref lookForMyCaller));
        }
 public Task <TResult> FromAsync(Func <AsyncCallback, object, IAsyncResult> beginMethod, Func <IAsyncResult, TResult> endMethod, object state, TaskCreationOptions creationOptions)
 {
     return(TaskFactory <TResult> .FromAsyncImpl(beginMethod, endMethod, state, creationOptions));
 }
        public Task <TResult> FromAsync(IAsyncResult asyncResult, Func <IAsyncResult, TResult> endMethod)
        {
            StackCrawlMark lookForMyCaller = StackCrawlMark.LookForMyCaller;

            return(TaskFactory <TResult> .FromAsyncImpl(asyncResult, endMethod, this.m_defaultCreationOptions, this.DefaultScheduler, ref lookForMyCaller));
        }