public static void CheckUriSchemeKey(string entityName, string paramName)
 {
     if (string.IsNullOrWhiteSpace(entityName))
     {
         throw Fx.Exception.ArgumentNullOrWhiteSpace(paramName);
     }
     string[] strArrays = new string[] { "@", "?", "#" };
     for (int i = 0; i < (int)strArrays.Length; i++)
     {
         string str = strArrays[i];
         if (entityName.Contains(str))
         {
             ExceptionTrace exception = Fx.Exception;
             string         characterReservedForUriScheme = Resources.CharacterReservedForUriScheme;
             object[]       objArray = new object[] { paramName, str };
             throw exception.Argument(paramName, Microsoft.ServiceBus.SR.GetString(characterReservedForUriScheme, objArray));
         }
     }
 }