Exemplo n.º 1
0
 private void GetWorkItemStore()
 {
     try
     {
         string        tfsUrl            = (string)Session["TfsUrl"];
         string        collectionName    = (string)Session["SelectedCollection"];
         Uri           teamCollectionUri = new Uri(tfsUrl + "/" + collectionName);
         WorkItemStore workItemStore     = WorkItemRepository.Get(teamCollectionUri);
         Session["WorkItemStore"] = workItemStore;
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }