示例#1
0
 public void CancelPendingRequest(string sessionToken)
 {
     try
     {
         manager.SessionToken = sessionToken;
         manager.CancelPendingRequest(projectName);
     }
     // Silently ignore exceptions that occur due to connection problems
     catch (System.Net.Sockets.SocketException)
     {
     }
     catch (System.Runtime.Remoting.RemotingException)
     {
     }
 }
 public void CancelPendingRequest(string projectName)
 {
     manager.CancelPendingRequest(projectName);
 }