Пример #1
0
        public RUIResult StopSession()
        {
            var result = RUIResult.sdkAlreadyStopped;

            try
            {
                result = RuiSdk.StopSession(Username);
                RuiSdk.StopSDK(0);
                return(result);
            }
            catch (RUISDKCreationException ex)
            {
                Dev2Logger.Error("Error in StopSession method (RUISDKCreationException)", ex, Core.RevulyticsSdkError);
                return(result);
            }
            catch (ArgumentNullException e)
            {
                Dev2Logger.Error("Error in StopSession method (ArgumentNullException)", e, Core.RevulyticsSdkError);
                return(result);
            }
            catch (Exception e)
            {
                Dev2Logger.Error("Error in StopSession method", e, Core.RevulyticsSdkError);
                return(result);
            }
        }
Пример #2
0
 public RUIResult StopSdk()
 {
     return(RuiSdk.StopSDK(10));
 }