private async Task <KeyEntity> ReadKey() { var query = new TableQuery <KeyEntity>() .Where(AzureStorageUtils.PointQuery(this.partition, KeyEntity.RK)); TableQuerySegment <KeyEntity> queryResult = await table.ExecuteQuerySegmentedAsync(query, null).ConfigureAwait(false); return(queryResult.Results.Count == 0 ? new KeyEntity() { PartitionKey = this.partition } : queryResult.Results[0]); }