cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: CancellationToken ?

CancellationToken ?

23W
Helpful | Level 5
Go to solution

How can I cancel Task<> from async methods in Dropbox C# SDK? I don't see how I can set CancellationToken for them.
I thought there is something like: 

public Task<Metadata> GetMetadataAsync(
	string path,
	bool includeMediaInfo = false,
	bool includeDeleted = false,
	bool includeHasExplicitSharedMembers = false,
CancellationToken ct = null
)

 But can't find it. Please help.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

[Cross-linking for reference: https://stackoverflow.com/questions/43979979/cancellationtoken-in-dropbox-c-sharp-sdk ]

 

The Dropbox API v2 .NET SDK doesn't support cancelling/cancellation tokens, but I'll be sure to pass this along as a feature request. 

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution

[Cross-linking for reference: https://stackoverflow.com/questions/43979979/cancellationtoken-in-dropbox-c-sharp-sdk ]

 

The Dropbox API v2 .NET SDK doesn't support cancelling/cancellation tokens, but I'll be sure to pass this along as a feature request. 

Need more support?