Esempio n. 1
0
        public RUIResult SetProductVersion()
        {
            var result = RUIResult.sdkSuspended; ///The RUI Server has instructed a temporary back-off.

            try
            {
                Dev2Logger.Warn($"Revulytics.SetProductVersion: {ProductVersion}", "");
                result = RuiSdk.SetProductVersion(ProductVersion);
                return(result);
            }
            catch (RUISDKCreationException ex)
            {
                Dev2Logger.Error("Error in SetProductVersion method (RUISDKCreationException)", ex, Core.RevulyticsSdkError);
                return(result);
            }
            catch (ArgumentNullException e)
            {
                Dev2Logger.Error("Error in SetProductVersion method (ArgumentNullException)", e, Core.RevulyticsSdkError);
                return(result);
            }
            catch (Exception e)
            {
                Dev2Logger.Error("Error in SetProductVersion method", e, Core.RevulyticsSdkError);
                return(result);
            }
        }
Esempio n. 2
0
 public RUIResult SetProductVersion()
 {
     return(RuiSdk.SetProductVersion(ProductVersion));
 }