Esempio n. 1
0
 protected void GetNavBarInfoAndHandleException(ShellServiceClient client, NavBarInfoRequest request)
 {
     try
     {
         this.CallShellService(client, request);
     }
     catch (EndpointNotFoundException ex)
     {
         this.shellServiceException = ex;
     }
     catch (ActionNotSupportedException ex2)
     {
         this.shellServiceException = ex2;
     }
     catch (FaultException ex3)
     {
         this.shellServiceException = ex3;
     }
     catch (MessageSecurityException ex4)
     {
         this.shellServiceException = ex4;
     }
     finally
     {
         client.Close();
     }
 }