private static Boolean IsMsmqConfigurationOK()
 {
     if (MsmqAccess.IsExist(ConfigParameter.MsmqPath))
     {
         return(true);
     }
     else
     {
         LogHelper.WriteError(String.Format(ResourceLogic.GetString(ResourceKeyName.MsmqPathNotFound), ConfigParameter.MsmqPath));
         return(false);
     }
 }
 /// <summary>
 /// use in the UI to check if the new Uri is available
 /// </summary>
 /// <param name="uri"></param>
 /// <returns></returns>
 public static Boolean IsExist(String uri)
 {
     return(MsmqAccess.IsExist(uri));
 }
 /// <summary>
 /// use in the service windows to determine if the uri store is ok
 /// </summary>
 /// <returns></returns>
 public static Boolean IsExist()
 {
     return(MsmqAccess.IsExist(getMsmqPath()));
 }