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