One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
23W
8 years agoHelpful | Level 5
CancellationToken ?
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.
[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.
- Greg-DB
Dropbox Staff
[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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 37 minutes ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!