Request

Response

    BaseReadOnlyExchangeModel.OnGetLatestExchangeDataAction method

    Runs the get-latest workflow: raises before/load/after events so the host application can synchronize the latest exchange data.

    public virtual Task OnGetLatestExchangeDataAction(ExchangeItem exchangeItem, 
        IElementDataModel syncedModel = null, CancellationToken cancellationToken = default)
    
    parameterdescription
    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

    exceptioncondition
    OperationCanceledException Thrown when the operation is cancelled through cancellationToken.

    See Also