在使用AOP拦截时,我们一般这么用: public override IMessage Invoke(IMessage msg)
{
//......
IMethodReturnMessage result_msg = RemotingServices.ExecuteMessage(this.myMarshalByRefObject, call);
return result_msg;
}但是,如何跳过此函数的调用呢??多谢!
{
//......
IMethodReturnMessage result_msg = RemotingServices.ExecuteMessage(this.myMarshalByRefObject, call);
return result_msg;
}但是,如何跳过此函数的调用呢??多谢!
Invoke() 需要一个返回值。