/// <summary> /// <para>Begins an asynchronous send to the list continue route.</para> /// </summary> /// <param name="cursor">The cursor returned by the previous API call specified in the /// endpoint description.</param> /// <param name="callback">The method to be called when the asynchronous send is /// completed.</param> /// <param name="callbackState">A user provided object that distinguished this send /// from other send requests.</param> /// <returns>An object that represents the asynchronous send request.</returns> public sys.IAsyncResult BeginListContinue(string cursor, sys.AsyncCallback callback, object callbackState = null) { var listFileRequestsContinueArg = new ListFileRequestsContinueArg(cursor); return(this.BeginListContinue(listFileRequestsContinueArg, callback, callbackState)); }
/// <summary> /// <para>Begins an asynchronous send to the list continue route.</para> /// </summary> /// <param name="listFileRequestsContinueArg">The request parameters.</param> /// <param name="callback">The method to be called when the asynchronous send is /// completed.</param> /// <param name="state">A user provided object that distinguished this send from other /// send requests.</param> /// <returns>An object that represents the asynchronous send request.</returns> public sys.IAsyncResult BeginListContinue(ListFileRequestsContinueArg listFileRequestsContinueArg, sys.AsyncCallback callback, object state = null) { var task = this.ListContinueAsync(listFileRequestsContinueArg); return(enc.Util.ToApm(task, callback, state)); }
/// <summary> /// <para>Once a cursor has been retrieved from <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListV2Async" />, use /// this to paginate through all file requests. The cursor must come from a previous /// call to <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListV2Async" /> or /// <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListContinueAsync" /// />.</para> /// </summary> /// <param name="cursor">The cursor returned by the previous API call specified in the /// endpoint description.</param> /// <returns>The task that represents the asynchronous send operation. The TResult /// parameter contains the response from the server.</returns> /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error /// processing the request; This will contain a <see /// cref="ListFileRequestsContinueError"/>.</exception> public t.Task <ListFileRequestsV2Result> ListContinueAsync(string cursor) { var listFileRequestsContinueArg = new ListFileRequestsContinueArg(cursor); return(this.ListContinueAsync(listFileRequestsContinueArg)); }
/// <summary> /// <para>Once a cursor has been retrieved from <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListV2Async" />, use /// this to paginate through all file requests. The cursor must come from a previous /// call to <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListV2Async" /> or /// <see /// cref="Dropbox.Api.FileRequests.Routes.FileRequestsUserRoutes.ListContinueAsync" /// />.</para> /// </summary> /// <param name="listFileRequestsContinueArg">The request parameters</param> /// <returns>The task that represents the asynchronous send operation. The TResult /// parameter contains the response from the server.</returns> /// <exception cref="Dropbox.Api.ApiException{TError}">Thrown if there is an error /// processing the request; This will contain a <see /// cref="ListFileRequestsContinueError"/>.</exception> public t.Task <ListFileRequestsV2Result> ListContinueAsync(ListFileRequestsContinueArg listFileRequestsContinueArg) { return(this.Transport.SendRpcRequestAsync <ListFileRequestsContinueArg, ListFileRequestsV2Result, ListFileRequestsContinueError>(listFileRequestsContinueArg, "api", "/file_requests/list/continue", "user", global::Dropbox.Api.FileRequests.ListFileRequestsContinueArg.Encoder, global::Dropbox.Api.FileRequests.ListFileRequestsV2Result.Decoder, global::Dropbox.Api.FileRequests.ListFileRequestsContinueError.Decoder)); }