/// <summary> /// <para>Begins an asynchronous send to the get events continue route.</para> /// </summary> /// <param name="cursor">Indicates from what point to get the next set of /// events.</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 BeginGetEventsContinue(string cursor, sys.AsyncCallback callback, object callbackState = null) { var getTeamEventsContinueArg = new GetTeamEventsContinueArg(cursor); return(this.BeginGetEventsContinue(getTeamEventsContinueArg, callback, callbackState)); }
/// <summary> /// <para>Begins an asynchronous send to the get events continue route.</para> /// </summary> /// <param name="getTeamEventsContinueArg">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 BeginGetEventsContinue(GetTeamEventsContinueArg getTeamEventsContinueArg, sys.AsyncCallback callback, object state = null) { var task = this.GetEventsContinueAsync(getTeamEventsContinueArg); return(enc.Util.ToApm(task, callback, state)); }
/// <summary> /// <para>Once a cursor has been retrieved from <see /// cref="Dropbox.Api.TeamLog.Routes.TeamLogTeamRoutes.GetEventsAsync" />, use this to /// paginate through all events.</para> /// <para>Permission : Team Auditing.</para> /// </summary> /// <param name="cursor">Indicates from what point to get the next set of /// events.</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="GetTeamEventsContinueError"/>.</exception> public t.Task <GetTeamEventsResult> GetEventsContinueAsync(string cursor) { var getTeamEventsContinueArg = new GetTeamEventsContinueArg(cursor); return(this.GetEventsContinueAsync(getTeamEventsContinueArg)); }
/// <summary> /// <para>Once a cursor has been retrieved from <see /// cref="Dropbox.Api.TeamLog.Routes.TeamLogTeamRoutes.GetEventsAsync" />, use this to /// paginate through all events.</para> /// <para>Permission : Team Auditing.</para> /// </summary> /// <param name="getTeamEventsContinueArg">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="GetTeamEventsContinueError"/>.</exception> public t.Task <GetTeamEventsResult> GetEventsContinueAsync(GetTeamEventsContinueArg getTeamEventsContinueArg) { return(this.Transport.SendRpcRequestAsync <GetTeamEventsContinueArg, GetTeamEventsResult, GetTeamEventsContinueError>(getTeamEventsContinueArg, "api", "/team_log/get_events/continue", "team", global::Dropbox.Api.TeamLog.GetTeamEventsContinueArg.Encoder, global::Dropbox.Api.TeamLog.GetTeamEventsResult.Decoder, global::Dropbox.Api.TeamLog.GetTeamEventsContinueError.Decoder)); }