Exemple #1
0
        public static void SetContentPanelSectionState(int contentPanelSectionID)
        {
            try
            {
                using (_certonaService = new CertonaServiceClient())
                {
                    try
                    {
                        var request = new SetContentPanelSectionStateRequest()
                        {
                            ContentPanelSectionID = contentPanelSectionID,
                            User = FormsAuthenticationWrapper.User
                        };

                        _certonaService.SetContentPanelSectionState(request);
                    }
                    catch (TimeoutException exception)
                    {
                        _certonaService.Abort();
                        throw;
                    }
                    catch (CommunicationException exception)
                    {
                        _certonaService.Abort();
                        throw;
                    }
                }
            }
            catch (Exception ex)
            {
            }
        }