因为我是这个异步/等待过程的新手。所以,我很少做研究,我做了这个:-public async Task<JsonResult> GetMultipleTblResult(AdminBundle aBundleFetch}
return await BulkList; //Getting Error 'ArrayList' does not contain a definition for 'GetAwaiter' and n
我正在我的asp.net webapi项目中实现automapper。我还在业务层实现了异步任务。我基本上想返回MoviesDto对象而不是MoviesDto,但是获得一个错误列表并不包含getAwaiter.The错误的定义。下面是我的代码public class MoviesDto : BaseDto public int MovieID { get; set; }
order in orders) {}'IEnumerable<Order>' does not contain a definition for 'GetAwaiter' and no accessible extension method 'GetAwaiter' accepting a first argument of type 'IEnumerable<Order
我在C#中有一个测试web的C#方法 public async Task GetWeatherForecast() var apiClientapiResponse.IsSuccessStatusCode);但是点击这个错误HttpResponseMessage' does not contain a definition for 'GetAwaiter' and no accessible extension method 'GetAwa
我正在做一个简单的BLE UWP。我一直在提到"",在VisualStudio2017中工作。BluetoothLEDevice.FromBluetoothAddressAsync(eventArgs.BluetoothAddress)IAsyncOperation<Bluetooth> does not contain a definition for'windowsRun