IClient.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 new revision identifier that was applied, or Empty when the model was already at the latest revision.
See Also
- interface IResponse<TValue>
- interface IElementDataModel
- interface IClient
- namespace Autodesk.DataExchange.Interface