/// <summary> /// <para>Begins an asynchronous send to the list folder members route.</para> /// </summary> /// <param name="sharedFolderId">The ID for the shared folder.</param> /// <param name="actions">Member actions to query.</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 BeginListFolderMembers(string sharedFolderId, col.IEnumerable<MemberAction> actions = null, sys.AsyncCallback callback = null, object callbackState = null) { var listFolderMembersArgs = new ListFolderMembersArgs(sharedFolderId, actions); return this.BeginListFolderMembers(listFolderMembersArgs, callback, callbackState); }
/// <summary> /// <para>Returns shared folder membership by its folder ID.</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="sharedFolderId">The ID for the shared folder.</param> /// <param name="actions">Member actions to query.</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="SharedFolderAccessError"/>.</exception> public t.Task<SharedFolderMembers> ListFolderMembersAsync(string sharedFolderId, col.IEnumerable<MemberAction> actions = null) { var listFolderMembersArgs = new ListFolderMembersArgs(sharedFolderId, actions); return this.ListFolderMembersAsync(listFolderMembersArgs); }
/// <summary> /// <para>Begins an asynchronous send to the list folder members route.</para> /// </summary> /// <param name="listFolderMembersArgs">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 BeginListFolderMembers(ListFolderMembersArgs listFolderMembersArgs, sys.AsyncCallback callback, object state = null) { var task = this.ListFolderMembersAsync(listFolderMembersArgs); return enc.Util.ToApm(task, callback, state); }
/// <summary> /// <para>Returns shared folder membership by its folder ID.</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="listFolderMembersArgs">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="SharedFolderAccessError"/>.</exception> public t.Task<SharedFolderMembers> ListFolderMembersAsync(ListFolderMembersArgs listFolderMembersArgs) { return this.Transport.SendRpcRequestAsync<ListFolderMembersArgs, SharedFolderMembers, SharedFolderAccessError>(listFolderMembersArgs, "api", "/sharing/list_folder_members", Dropbox.Api.Sharing.ListFolderMembersArgs.Encoder, Dropbox.Api.Sharing.SharedFolderMembers.Decoder, Dropbox.Api.Sharing.SharedFolderAccessError.Decoder); }
/// <summary> /// <para>Begins an asynchronous send to the list folder members route.</para> /// </summary> /// <param name="sharedFolderId">The ID for the shared folder.</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 BeginListFolderMembers(string sharedFolderId, sys.AsyncCallback callback, object callbackState = null) { var listFolderMembersArgs = new ListFolderMembersArgs(sharedFolderId); return this.BeginListFolderMembers(listFolderMembersArgs, callback, callbackState); }
/// <summary> /// <para>Returns shared folder membership by its folder ID.</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="sharedFolderId">The ID for the shared folder.</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{SharedFolderAccessError}">Thrown if there /// is an error processing the request; This will contain a <see /// cref="SharedFolderAccessError"/>.</exception> public t.Task<SharedFolderMembers> ListFolderMembersAsync(string sharedFolderId) { var listFolderMembersArgs = new ListFolderMembersArgs(sharedFolderId); return this.ListFolderMembersAsync(listFolderMembersArgs); }