IExchangeReader.OnGetLatestExchangeDataAction method
Runs the get-latest workflow: raises before/load/after events so the host application can synchronize the latest exchange data.
public Task OnGetLatestExchangeDataAction(ExchangeItem exchangeItem,
IElementDataModel syncedModel = null, CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| exchangeItem | The exchange to load. |
| syncedModel | Pre-synced element data model, or null when not available. |
| cancellationToken | Token used to cancel the operation. |
Return Value
A task that completes when the workflow finishes.
Exceptions
| exception | condition |
|---|---|
| OperationCanceledException | Thrown when the operation is cancelled through cancellationToken. |
See Also
- class ExchangeItem
- interface IElementDataModel
- interface IExchangeReader
- namespace Autodesk.DataExchange.Core.Interface