コード例 #1
0
        /// <summary>
        /// <para>Begins an asynchronous send to the groups list continue route.</para>
        /// </summary>
        /// <param name="cursor">Indicates from what point to get the next set of
        /// groups.</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 BeginGroupsListContinue(string cursor,
                                                        sys.AsyncCallback callback,
                                                        object callbackState = null)
        {
            var groupsListContinueArg = new GroupsListContinueArg(cursor);

            return this.BeginGroupsListContinue(groupsListContinueArg, callback, callbackState);
        }
コード例 #2
0
        /// <summary>
        /// <para>Begins an asynchronous send to the groups list continue route.</para>
        /// </summary>
        /// <param name="groupsListContinueArg">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 BeginGroupsListContinue(GroupsListContinueArg groupsListContinueArg, sys.AsyncCallback callback, object state = null)
        {
            var task = this.GroupsListContinueAsync(groupsListContinueArg);

            return enc.Util.ToApm(task, callback, state);
        }
コード例 #3
0
        /// <summary>
        /// <para>Once a cursor has been retrieved from <see
        /// cref="Dropbox.Api.Team.Routes.TeamRoutes.GroupsListAsync" />, use this to paginate
        /// through all groups.</para>
        /// <para>Permission : Team information</para>
        /// </summary>
        /// <param name="cursor">Indicates from what point to get the next set of
        /// groups.</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{GroupsListContinueError}">Thrown if there
        /// is an error processing the request; This will contain a <see
        /// cref="GroupsListContinueError"/>.</exception>
        public t.Task<GroupsListResult> GroupsListContinueAsync(string cursor)
        {
            var groupsListContinueArg = new GroupsListContinueArg(cursor);

            return this.GroupsListContinueAsync(groupsListContinueArg);
        }
コード例 #4
0
 /// <summary>
 /// <para>Once a cursor has been retrieved from <see
 /// cref="Dropbox.Api.Team.Routes.TeamRoutes.GroupsListAsync" />, use this to paginate
 /// through all groups.</para>
 /// <para>Permission : Team information</para>
 /// </summary>
 /// <param name="groupsListContinueArg">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{GroupsListContinueError}">Thrown if there
 /// is an error processing the request; This will contain a <see
 /// cref="GroupsListContinueError"/>.</exception>
 public t.Task<GroupsListResult> GroupsListContinueAsync(GroupsListContinueArg groupsListContinueArg)
 {
     return this.Transport.SendRpcRequestAsync<GroupsListContinueArg, GroupsListResult, GroupsListContinueError>(groupsListContinueArg, "api", "/team/groups/list/continue", Dropbox.Api.Team.GroupsListContinueArg.Encoder, Dropbox.Api.Team.GroupsListResult.Decoder, Dropbox.Api.Team.GroupsListContinueError.Decoder);
 }