Amazon.CognitoSync.SyncManager.Internal.CognitoSyncStorage.EndPutRecords C# (CSharp) Method

EndPutRecords() public method

Finishes the asynchronous execution of the PutRecords operation.
public EndPutRecords ( IAsyncResult asyncResult ) : List
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutRecords.
return List
        public List<Record> EndPutRecords(IAsyncResult asyncResult)
        {
            try
            {
                UpdateRecordsResponse response = client.EndUpdateRecords(asyncResult);
                return ExtractRecords(response);
            }
            catch (Exception ex)
            {
                throw HandleException(ex, "Failed to update records in dataset");
            }
        }
        #endregion