Request

Response

    IClient.GetElementDataModelAsync method (1 of 3)

    Gets exchange data asynchronously.

    public Task<IResponse<IElementDataModel>> GetElementDataModelAsync(
        DataExchangeIdentifier exchangeIdentifier, bool loadLatest = false, 
        CancellationToken cancellationToken = default)
    
    parameterdescription
    exchangeIdentifier An identifier for data exchange.
    loadLatest When false (default), returns cached exchange data without delta-syncing to the server. When true, syncs a cached exchange to the latest server revision before returning. On cache miss, data is fetched from the server in either case.
    cancellationToken Token used to cancel the asynchronous operation.

    Return Value

    A task that represents the asynchronous operation. The task result contains the exchange data, or a failed response (see IsFailed) when the data cannot be retrieved.

    See Also


    IClient.GetElementDataModelAsync method (2 of 3)

    Gets exchange data asynchronously.

    public Task<IResponse<IElementDataModel>> GetElementDataModelAsync(
        DataExchangeIdentifier exchangeIdentifier, string fromRevision, 
        CancellationToken cancellationToken = default)
    
    parameterdescription
    exchangeIdentifier An identifier for data exchange.
    fromRevision The revision from which to get the exchange data.
    cancellationToken Token used to cancel the asynchronous operation.

    Return Value

    A task that represents the asynchronous operation. The task result contains the exchange data, or a failed response (see IsFailed) when the data cannot be retrieved.

    See Also


    IClient.GetElementDataModelAsync method (3 of 3)

    Gets exchange data asynchronously.

    public Task<IResponse<IElementDataModel>> GetElementDataModelAsync(
        DataExchangeIdentifier exchangeIdentifier, string fromRevision, string toRevision, 
        CancellationToken cancellationToken = default)
    
    parameterdescription
    exchangeIdentifier An identifier for data exchange.
    fromRevision The revision from which to get the exchange data.
    toRevision The revision to which to get the exchange data.
    cancellationToken Token used to cancel the asynchronous operation.

    Return Value

    A task that represents the asynchronous operation. The task result contains the exchange data, or a failed response (see IsFailed) when the data cannot be retrieved.

    See Also