Show / Hide Table of Contents

Class ContactsUserRoutes

The routes for the Dropbox.Api.Contacts namespace

Inheritance
System.Object
ContactsUserRoutes
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dropbox.Api.Contacts.Routes
Assembly: Dropbox.Api.dll
Syntax
public class ContactsUserRoutes

Methods

| Improve this Doc View Source

BeginDeleteManualContacts(AsyncCallback, Object)

Begins an asynchronous send to the delete manual contacts route.

Declaration
public IAsyncResult BeginDeleteManualContacts(AsyncCallback callback, object state = null)
Parameters
Type Name Description
System.AsyncCallback callback

The method to be called when the asynchronous send is completed.

System.Object state

A user provided object that distinguished this send from other send requests.

Returns
Type Description
System.IAsyncResult

An object that represents the asynchronous send request.

| Improve this Doc View Source

BeginDeleteManualContactsBatch(DeleteManualContactsArg, AsyncCallback, Object)

Begins an asynchronous send to the delete manual contacts batch route.

Declaration
public IAsyncResult BeginDeleteManualContactsBatch(DeleteManualContactsArg deleteManualContactsArg, AsyncCallback callback, object state = null)
Parameters
Type Name Description
DeleteManualContactsArg deleteManualContactsArg

The request parameters.

System.AsyncCallback callback

The method to be called when the asynchronous send is completed.

System.Object state

A user provided object that distinguished this send from other send requests.

Returns
Type Description
System.IAsyncResult

An object that represents the asynchronous send request.

| Improve this Doc View Source

BeginDeleteManualContactsBatch(IEnumerable<String>, AsyncCallback, Object)

Begins an asynchronous send to the delete manual contacts batch route.

Declaration
public IAsyncResult BeginDeleteManualContactsBatch(IEnumerable<string> emailAddresses, AsyncCallback callback, object callbackState = null)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> emailAddresses

List of manually added contacts to be deleted.

System.AsyncCallback callback

The method to be called when the asynchronous send is completed.

System.Object callbackState

A user provided object that distinguished this send from other send requests.

Returns
Type Description
System.IAsyncResult

An object that represents the asynchronous send request.

| Improve this Doc View Source

DeleteManualContactsAsync()

Removes all manually added contacts. You'll still keep contacts who are on your team or who you imported. New contacts will be added when you share.

Declaration
public Task DeleteManualContactsAsync()
Returns
Type Description
System.Threading.Tasks.Task

The task that represents the asynchronous send operation.

| Improve this Doc View Source

DeleteManualContactsBatchAsync(DeleteManualContactsArg)

Removes manually added contacts from the given list.

Declaration
public Task DeleteManualContactsBatchAsync(DeleteManualContactsArg deleteManualContactsArg)
Parameters
Type Name Description
DeleteManualContactsArg deleteManualContactsArg

The request parameters

Returns
Type Description
System.Threading.Tasks.Task

The task that represents the asynchronous send operation.

Exceptions
Type Condition
ApiException<TError>

Thrown if there is an error processing the request; This will contain a DeleteManualContactsError.

| Improve this Doc View Source

DeleteManualContactsBatchAsync(IEnumerable<String>)

Removes manually added contacts from the given list.

Declaration
public Task DeleteManualContactsBatchAsync(IEnumerable<string> emailAddresses)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.String> emailAddresses

List of manually added contacts to be deleted.

Returns
Type Description
System.Threading.Tasks.Task

The task that represents the asynchronous send operation.

Exceptions
Type Condition
ApiException<TError>

Thrown if there is an error processing the request; This will contain a DeleteManualContactsError.

| Improve this Doc View Source

EndDeleteManualContacts(IAsyncResult)

Waits for the pending asynchronous send to the delete manual contacts route to complete

Declaration
public void EndDeleteManualContacts(IAsyncResult asyncResult)
Parameters
Type Name Description
System.IAsyncResult asyncResult

The reference to the pending asynchronous send request

| Improve this Doc View Source

EndDeleteManualContactsBatch(IAsyncResult)

Waits for the pending asynchronous send to the delete manual contacts batch route to complete

Declaration
public void EndDeleteManualContactsBatch(IAsyncResult asyncResult)
Parameters
Type Name Description
System.IAsyncResult asyncResult

The reference to the pending asynchronous send request

Exceptions
Type Condition
ApiException<TError>

Thrown if there is an error processing the request; This will contain a DeleteManualContactsError.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • BeginDeleteManualContacts(AsyncCallback, Object)
    • BeginDeleteManualContactsBatch(DeleteManualContactsArg, AsyncCallback, Object)
    • BeginDeleteManualContactsBatch(IEnumerable<String>, AsyncCallback, Object)
    • DeleteManualContactsAsync()
    • DeleteManualContactsBatchAsync(DeleteManualContactsArg)
    • DeleteManualContactsBatchAsync(IEnumerable<String>)
    • EndDeleteManualContacts(IAsyncResult)
    • EndDeleteManualContactsBatch(IAsyncResult)
Back to top Generated by DocFX