private static Task <WebResponse> GetResponseAsync(this WebRequest req, CloudTableClient service)
 {
     return(new APMTask <WebResponse>(
                req.BeginGetResponse,
                (asyncresult) => service.EndGetResponse(asyncresult, req),
                req.Abort));
 }
 private static Task<WebResponse> GetResponseAsync(this WebRequest req, CloudTableClient service)
 {
     return new APMTask<WebResponse>(
         req.BeginGetResponse,
         (asyncresult) => service.EndGetResponse(asyncresult, req),
         req.Abort);
 }