Exemple #1
0
 /*package*/
 internal bool RemoveServerSideDynamicProperty(String name)
 {
     if (_dphSrv == null)
     {
         throw new ArgumentException(Environment.GetResourceString("Arg_PropNotFound"));
     }
     return(_dphSrv.RemoveDynamicProperty(name));
 }
 internal bool RemoveProxySideDynamicProperty(String name)
 {
     lock (this)
     {
         if (_dph == null)
         {
             throw new RemotingException(
                       String.Format(
                           CultureInfo.CurrentCulture, Environment.GetResourceString("Remoting_Contexts_NoProperty"),
                           name));
         }
         return(_dph.RemoveDynamicProperty(name));
     }
 }