1 type derived from ReturnMessage
mscorlib (1)
system\runtime\remoting\message.cs (1)
899internal class ConstructorReturnMessage : ReturnMessage, IConstructionReturnMessage
35 instantiations of ReturnMessage
mscorlib (25)
system\runtime\remoting\asyncresult.cs (2)
112_replyMsg = new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_NullMessage")), new ErrorMessage()); 116_replyMsg = new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_Message_BadType")), new ErrorMessage());
system\runtime\remoting\channelservices.cs (3)
782replyMsg = (IMessage)new ReturnMessage(e, mcm); 862msgRet = (IMessage)new ReturnMessage(e, mcm); 920ReturnMessage retMsg = new ReturnMessage(e, (IMethodCallMessage)msg);
system\runtime\remoting\channelsinkstacks.cs (2)
174DispatchReplyMessage(new ReturnMessage(e, null)); 447IMessage retMessage = new ReturnMessage(
system\runtime\remoting\context.cs (1)
601errMsg = new ReturnMessage(e, mcm);
system\runtime\remoting\crossappdomainchannel.cs (2)
439new ReturnMessage(e, new ErrorMessage()); 574desRetMsg = new ReturnMessage(e, (reqMsg as IMethodCallMessage));
system\runtime\remoting\crosscontextchannel.cs (1)
157replyMsg = new ReturnMessage(e, (IMethodCallMessage)reqMsg);
system\runtime\remoting\message.cs (1)
5180ReturnMessage retMsg = new ReturnMessage(e, new ErrorMessage());
system\runtime\remoting\realproxy.cs (1)
848retMsg = new ReturnMessage(ar, null, 0, null/*cctx*/, msg);
system\runtime\remoting\redirectionproxy.cs (1)
66replyMsg = new ReturnMessage(e, msg as IMethodCallMessage);
system\runtime\remoting\remotingproxy.cs (5)
270return new ReturnMessage(t, null, 0, cctx, reqMcmMsg); 276return new ReturnMessage(hashCode, null, 0, cctx, reqMcmMsg); 372retMsg = new ReturnMessage(ar, null, 0, null/*cctx*/, reqMsg); 381retMsg = new ReturnMessage(null, null, 0, null/*cctx*/, reqMcmMsg); 385retMsg = new ReturnMessage(null, null, 0, null/*cctx*/, reqMcmMsg);
system\runtime\remoting\stackbuildersink.cs (4)
162retMessage = new ReturnMessage( 181retMessage = new ReturnMessage(e, mcMsg); 258retMessage = new ReturnMessage( 274retMessage = new ReturnMessage(e, mcMsg);
system\runtime\remoting\terminatorsinks.cs (2)
37retMsg = new ReturnMessage( new ArgumentNullException("reqMsg"), null); 55return new ReturnMessage(new RemotingException(Environment.GetResourceString("Remoting_Activation_AsyncUnsupported")),
System.Runtime.Remoting (7)
channels\sinks\binaryformattersinks.cs (3)
169retMsg = new ReturnMessage(e, mcm); 196retMsg = new ReturnMessage(e, mcm); 649responseMsg = new ReturnMessage(e, (IMethodCallMessage)(requestMsg==null?new ErrorMessage():requestMsg));
channels\sinks\soapformattersinks.cs (4)
175retMsg = new ReturnMessage(e, mcm); 202retMsg = new ReturnMessage(e, mcm); 284retMsg = new ReturnMessage(new RemotingException(sb.ToString()), mcm); 720responseMsg = new ReturnMessage(e, (IMethodCallMessage)(requestMsg==null?new ErrorMessage():requestMsg));
System.ServiceModel (2)
System\ServiceModel\Channels\ServiceChannelProxy.cs (2)
77return new ReturnMessage(ret, outArgs, outArgsCount, callCtx, mcm); 82return new ReturnMessage(e, mcm);
System.Workflow.Activities (1)
LocalService\MethodMessage.cs (1)
338return new ReturnMessage(null, null, 0, methodCallMessage.LogicalCallContext, methodCallMessage);
22 references to ReturnMessage
mscorlib (20)
system\runtime\remoting\channelservices.cs (3)
785((ReturnMessage)replyMsg).SetLogicalCallContext( 865((ReturnMessage)msgRet).SetLogicalCallContext( 920ReturnMessage retMsg = new ReturnMessage(e, (IMethodCallMessage)msg);
system\runtime\remoting\context.cs (1)
604((ReturnMessage)errMsg).SetLogicalCallContext(
system\runtime\remoting\crosscontextchannel.cs (1)
160((ReturnMessage)replyMsg).SetLogicalCallContext(
system\runtime\remoting\message.cs (9)
1558ReturnMessage retMsg = _crmsg as ReturnMessage; 1584ReturnMessage rm = _crmsg as ReturnMessage; 1822ReturnMessage rm = _mrmsg as ReturnMessage; 1857ReturnMessage rm = _mrmsg as ReturnMessage; 5180ReturnMessage retMsg = new ReturnMessage(e, new ErrorMessage());
system\runtime\remoting\messagesmuggler.cs (2)
483ReturnMessage retMsg = mrm as ReturnMessage;
system\runtime\remoting\stackbuildersink.cs (2)
182((ReturnMessage)retMessage).SetLogicalCallContext(mcMsg.LogicalCallContext); 275((ReturnMessage)retMessage).SetLogicalCallContext(
system\runtime\serialization\formatters\binary\binaryobjectwriter.cs (2)
263ReturnMessage retMsg = mrm as ReturnMessage;
System.ServiceModel (2)
System\ServiceModel\ComIntegration\TearOffProxy.cs (2)
57ReturnMessage returnMsg = msgReturned as ReturnMessage;