Client.RetrieveLatestExchangeAsync method
Retrieves the latest exchange revision and updates the supplied elementDataModel.
public Task<IResponse<string>> RetrieveLatestExchangeAsync(IElementDataModel elementDataModel,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| elementDataModel | The element data model to update. |
| cancellationToken | Token used to cancel the asynchronous operation. |
Return Value
A task that represents the asynchronous operation. The task result contains the revision the model is at — the newly applied revision, or the current latest revision when the model was already up to date — or Empty when changes were fetched but contained no asset updates; or a failed response (see IsFailed) when retrieval fails.
See Also
- interface IResponse<TValue>
- interface IElementDataModel
- class Client
- namespace Autodesk.DataExchange