protected void FlagCurrentMethodToBeSkipped(ProcessEventArgs args)
        {
            IMethodCallMessage methodCallMessage = args.MethodCallMessage;

            ReturnMessage customMessage = new ReturnMessage(
                1,
                new object[]{},
                0,
                methodCallMessage.LogicalCallContext,
                methodCallMessage);

            methodCallMessage.LogicalCallContext.SetData("CustomReturnMessage",customMessage) ;
        }
 /// <summary>
 ///     Executes the method that this attribute was declared on 
 ///     with the same parameter values
 /// </summary>
 /// 
 /// <returns>
 ///     A void value...
 /// </returns>
 protected void invokeDeclaringMethod(ProcessEventArgs args)
 {
     Invoker invoker =new Invoker();
     invoker.Invoke(args);
 }
 public void Invoke(ProcessEventArgs args)
 {
     //Debug.WriteLine("** Invoke called.....");
     RemotingServices.ExecuteMessage(args.TargetObject,args.MethodCallMessage);
 }