msdn
ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfsystemruntimeremotingmessagingonewayattributeclasstopic.htm

解决方案 »

  1.   

    MSDN:将方法标记为单向方法,无返回值和 out 或 ref 参数。
    有关此类型所有成员的列表,请参阅 OneWayAttribute 成员。
    备注
    当调用单向方法时,不需要任何答复消息、状态或信息。OneWayAttribute 用于指示该方法具有 void 返回并只有 in 参数。该方法不能引发任何异常,而且不支持 ref 参数和 return 值。该方法可以与调用方同步执行或异步执行。调用方不能假定在线程控制返回时已经在服务器对象上执行了单向调用。要求
    命名空间: System.Runtime.Remoting.Messaging