/// <summary> /// <para>Begins an asynchronous send to the check job status route.</para> /// </summary> /// <param name="asyncJobId">Id of the asynchronous job. This is the value of a /// response returned from the method that launched the job.</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 BeginCheckJobStatus(string asyncJobId, sys.AsyncCallback callback, object callbackState = null) { var pollArg = new Dropbox.Api.Async.PollArg(asyncJobId); return this.BeginCheckJobStatus(pollArg, callback, callbackState); }
/// <summary> /// <para>Once an async_job_id is returned from <see /// cref="Dropbox.Api.Team.Routes.TeamRoutes.MembersRemoveAsync" /> , use this to poll /// the status of the asynchronous request.</para> /// <para>Permission : Team member management</para> /// </summary> /// <param name="asyncJobId">Id of the asynchronous job. This is the value of a /// response returned from the method that launched the job.</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{Dropbox.Api.Async.PollError}">Thrown if /// there is an error processing the request; This will contain a <see /// cref="Dropbox.Api.Async.PollError"/>.</exception> public t.Task<Dropbox.Api.Async.PollEmptyResult> MembersRemoveJobStatusGetAsync(string asyncJobId) { var pollArg = new Dropbox.Api.Async.PollArg(asyncJobId); return this.MembersRemoveJobStatusGetAsync(pollArg); }
/// <summary> /// <para>Returns the status of an asynchronous job.</para> /// <para>Apps must have full Dropbox access to use this endpoint.</para> /// <para>Warning: This endpoint is in beta and is subject to minor but possibly /// backwards-incompatible changes.</para> /// </summary> /// <param name="asyncJobId">Id of the asynchronous job. This is the value of a /// response returned from the method that launched the job.</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="Dropbox.Api.Async.PollError"/>.</exception> public t.Task<JobStatus> CheckJobStatusAsync(string asyncJobId) { var pollArg = new Dropbox.Api.Async.PollArg(asyncJobId); return this.CheckJobStatusAsync(pollArg); }
/// <summary> /// <para>Once an async_job_id is returned from <see /// cref="Dropbox.Api.Team.Routes.TeamRoutes.MembersAddAsync" /> , use this to poll the /// status of the asynchronous request.</para> /// <para>Permission : Team member management</para> /// </summary> /// <param name="asyncJobId">Id of the asynchronous job. This is the value of a /// response returned from the method that launched the job.</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{Dropbox.Api.Async.PollError}">Thrown if /// there is an error processing the request; This will contain a <see /// cref="Dropbox.Api.Async.PollError"/>.</exception> public t.Task<MembersAddJobStatus> MembersAddJobStatusGetAsync(string asyncJobId) { var pollArg = new Dropbox.Api.Async.PollArg(asyncJobId); return this.MembersAddJobStatusGetAsync(pollArg); }