• Home
  • API Documentation
  • API Documentation
Show / Hide Table of Contents

Class CheckUserRoutes

The routes for the Dropbox.Api.Check namespace

Inheritance
System.Object
CheckUserRoutes
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.Check.Routes
Assembly: Dropbox.Api.dll
Syntax
public class CheckUserRoutes

Methods

| Improve this Doc View Source

BeginUser(EchoArg, AsyncCallback, Object)

Begins an asynchronous send to the user route.

Declaration
public IAsyncResult BeginUser(EchoArg echoArg, AsyncCallback callback, object state = null)
Parameters
Type Name Description
EchoArg echoArg

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

BeginUser(String, AsyncCallback, Object)

Begins an asynchronous send to the user route.

Declaration
public IAsyncResult BeginUser(string query = "", AsyncCallback callback = null, object callbackState = null)
Parameters
Type Name Description
System.String query

The string that you'd like to be echoed back to you.

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

EndUser(IAsyncResult)

Waits for the pending asynchronous send to the user route to complete

Declaration
public EchoResult EndUser(IAsyncResult asyncResult)
Parameters
Type Name Description
System.IAsyncResult asyncResult

The reference to the pending asynchronous send request

Returns
Type Description
EchoResult

The response to the send request

| Improve this Doc View Source

UserAsync(EchoArg)

This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that the access token is valid.

Declaration
public Task<EchoResult> UserAsync(EchoArg echoArg)
Parameters
Type Name Description
EchoArg echoArg

The request parameters

Returns
Type Description
System.Threading.Tasks.Task<EchoResult>

The task that represents the asynchronous send operation. The TResult parameter contains the response from the server.

| Improve this Doc View Source

UserAsync(String)

This endpoint performs User Authentication, validating the supplied access token, and returns the supplied string, to allow you to test your code and connection to the Dropbox API. It has no other effect. If you receive an HTTP 200 response with the supplied query, it indicates at least part of the Dropbox API infrastructure is working and that the access token is valid.

Declaration
public Task<EchoResult> UserAsync(string query = "")
Parameters
Type Name Description
System.String query

The string that you'd like to be echoed back to you.

Returns
Type Description
System.Threading.Tasks.Task<EchoResult>

The task that represents the asynchronous send operation. The TResult parameter contains the response from the server.

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • BeginUser(EchoArg, AsyncCallback, Object)
    • BeginUser(String, AsyncCallback, Object)
    • EndUser(IAsyncResult)
    • UserAsync(EchoArg)
    • UserAsync(String)
Back to top Generated by DocFX