private async Task ExportDailySRReport() { using (var client = new CSMSRServiceClient()) { Task <ExportSRTaskResponse> t = client.DailySRReportAsync(); ExportSRTaskResponse result = await t; } }
private async Task ExportDailySRReport() { using (var client = new CSMSRServiceClient()) { Task <CSM.Service.Messages.SchedTask.ExportSRTaskResponse> t = client.DailySRReportAsync(); CSM.Service.Messages.SchedTask.ExportSRTaskResponse result = await t.ConfigureAwait(false); } }