4 instantiations of Message
mscorlib (4)
system\rttype.cs (1)
5614Message reqMsg = new Message();
system\runtime\remoting\message.cs (1)
1346_message = new Message();
system\runtime\remoting\realproxy.cs (1)
702Message msg = new Message();
system\runtime\remoting\remotingproxy.cs (1)
488Message m = new Message();
233 references to Message
mscorlib (233)
system\activator.cs (1)
22using Message = System.Runtime.Remoting.Messaging.Message;
system\object.cs (1)
143System.Runtime.Remoting.Messaging.Message.CoerceArg(val, fldInfo.FieldType);
system\rttype.cs (1)
5614Message reqMsg = new Message();
system\runtime\remoting\activationservices.cs (9)
146Message.DebugOut("Fatal Error... Could not create activator\n"); 455Message.DebugOut("Allocating blank marshal-by-ref object"); 484Message.DebugOut("Creating remoting proxy for " + 490Message.DebugOut("Created remoting proxy\n"); 495Message.DebugOut("NewObj did a Connect!"); 749reqMsg.Properties[Message.CallContextKey]); 791ctorMsg.Properties[Message.CallContextKey], 801ctorMsg.Properties[Message.CallContextKey]); 1353Object[] args = Message.CoerceArgs(ctorMsg, methodCache.Parameters);
system\runtime\remoting\asyncresult.cs (1)
25internal AsyncResult(Message m)
system\runtime\remoting\channelservices.cs (1)
787msg.Properties[Message.CallContextKey]);
system\runtime\remoting\channelsinkstacks.cs (1)
436System.Runtime.Remoting.Messaging.Message.CoerceArgs(_asyncEnd, parameters, paramList),
system\runtime\remoting\context.cs (10)
141Message.DebugOut("Creating Context with ID " + _ctxID + " and flags " + flags + " " + Environment.NewLine); 402Message.DebugOut("Context::GetClientContextChain: IN _ctxID =" + _ctxID + Environment.NewLine); 405Message.DebugOut("Context::GetClientContextChain: _clientContextChain == null, creating chain" + Environment.NewLine); 418Message.DebugOut("Context::GetClientContextChain: checking property " + 426Message.DebugOut("Context::GetClientContextChain: calling GetClientContextSink on " + 606msg.Properties[Message.CallContextKey]); 691Message.PropagateCallContextFromThreadToMessage(msgCall); 694Message.PropagateCallContextFromMessageToThread(retMsg); 712Message.PropagateCallContextFromThreadToMessage(msgCall); 717Message.PropagateCallContextFromMessageToThread(retMsg);
system\runtime\remoting\crossappdomainchannel.cs (7)
135Message.DebugOut("XAPPDOMAIN::Creating sink for data \n"); 397retMsg.Properties[Message.CallContextKey]; 423Message.DebugOut("#### : changed to Server Domain :: "+ (Thread.CurrentContext.InternalContextID).ToString("X") ); 467Message.DebugOut("#### : changed back to Client Domain " + (Thread.CurrentContext.InternalContextID).ToString("X")); 479Message.DebugOut("\n::::::::::::::::::::::::: CrossAppDomain Channel: Sync call starting"); 563Message.DebugOut("::::::::::::::::::::::::::: CrossAppDomain Channel: Sync call returning!!\n"); 571Message.DebugOut("Arrgh.. XAppDomainSink::throwing exception " + e + "\n");
system\runtime\remoting\crosscontextchannel.cs (13)
89Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: passing to ServerContextChain"); 110Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: back from ServerContextChain"); 136Message.DebugOut("\n::::::::::::::::::::::::: CrossContext Channel: Sync call starting"); 144Message.DebugOut("Got Server identity \n"); 156Message.DebugOut("Arrgh.. XCTXSink::throwing exception " + e + "\n"); 162reqMsg.Properties[Message.CallContextKey]); 166Message.DebugOut("::::::::::::::::::::::::::: CrossContext Channel: Sync call returning!!\n"); 187Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: passing to ServerContextChain"); 206Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: back from ServerContextChain"); 214Message.DebugOut("::::::::::::::::::::::::::: CrossContext Channel: Async call starting!!\n"); 296Message.DebugOut("::::::::::::::::::::::::::: CrossContext Channel: Async call returning!!\n"); 317Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: passing to ServerContextChain"); 321Message.DebugOut("::::::::::::::::::::::::: CrossContext Channel: back from ServerContextChain");
system\runtime\remoting\identityholder.cs (10)
182Message.DebugOut("ResolveIdentity:: URI: " + URI + "\n"); 183Message.DebugOut("ResolveIdentity:: table.count: " + URITable.Count + "\n"); 267Message.DebugOut("Entered FindOrCreateServerIdentity \n"); 318Message.DebugOut("Created ServerIdentity \n"); 388Message.DebugOut("Leaving FindOrCreateServerIdentity \n"); 427Message.DebugOut("RemotingService::FindOrCreateIdentity: Creating Identity\n"); 471Message.DebugOut("RemotingService::FindOrCreateIdentity: Found Identity!\n"); 490Message.DebugOut("SetIdentity:: domainid: " + Thread.GetDomainID() + "\n"); 518Message.DebugOut("SetIdentity: Generated URI " + URI + " for identity"); 665Message.DebugOut("SetIdentity:: Identity::URI: " + idObj.URI + "\n");
system\runtime\remoting\message.cs (40)
100internal virtual void SetOneWay() { _flags |= Message.OneWay;} 267if((0 == (_flags & Message.FixedArgs)) && 268(0 == (_flags & Message.VarArgs))) 272_flags |= Message.FixedArgs; 276_flags |= Message.VarArgs; 279return (1 == (_flags & Message.VarArgs)); 871(LogicalCallContext) msg.Properties[Message.CallContextKey]); 879msg.Properties[Message.CallContextKey] = callCtx; 982private Message _message; 1381internal Message GetMessage() 1689Message msg = _mcmsg as Message; 1713Message msg = _mcmsg as Message; 2026if (key.Equals(Message.UriKey)) 2030else if (key.Equals(Message.CallContextKey)) 2209Message.DebugOut("MessageDE::GetKey i = " + i + "\n"); 2326Message _m; 2338internal void InitFields(Message m) 2609_methodSignature = Message.GenerateMethodSignature(_methodBase); 2849Message.DebugOut("MethodCall ctor IN headers: " + (h1 == null ? "<null>" : h1.ToString()) + "\n"); 2858Message.DebugOut("MethodCall ctor OUT\n"); 3473Message.DebugOut( 3504args[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 3513Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[marshalRequestArgMap[i]].ParameterType, keyToNamespaceTable); 3645methodSignature = Message.GenerateMethodSignature(this.MethodBase); 3858Message.DebugOut("MethodCall::FillHeader: key:" + key + "\n"); 4129Message msg = mcm as Message; 4432retVal = Message.SoapCoerceArg(returnValue, retType, keyToNamespaceTable); 4490outArgs[position]= Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 4506outArgs[position] = Message.SoapCoerceArg(info.GetValue(memberName, typeof(Object)), pinfos[position].ParameterType, keyToNamespaceTable); 4744Message.DebugOut("MethodCall::FillHeaders: name: " + (name == null ? "NULL" : name) + "\n"); 4745Message.DebugOut("MethodCall::FillHeaders: Value.GetClass: " + (value == null ? "NULL" : value.GetType().FullName) + "\n"); 4746Message.DebugOut("MethodCall::FillHeaders: Value.ToString: " + (value == null ? "NULL" : value.ToString()) + "\n"); 5159LogicalCallContext oldcctx = Message.PropagateCallContextFromMessageToThread(msg); 5175Message.PropagateCallContextFromThreadToMessage(msg, oldcctx); 5182(LogicalCallContext) msg.Properties[Message.CallContextKey]); 5781_msg.Properties[Message.UriKey] = value; 6011_msg.Properties[Message.UriKey] = value;
system\runtime\remoting\objref.cs (5)
187Message.DebugOut("RemotingServices::TypeInfo: Determining length of server heirarchy\n"); 197Message.DebugOut("RemotingServices::TypeInfo: Determined length of server heirarchy\n"); 213Message.DebugOut("RemotingServices::TypeInfo: Getting implemented interfaces\n"); 280Message.DebugOut("CanCastTo returning " + fCastOK + " for type " + castType.FullName + "\n"); 961Message.DebugOut("RemotingServices::FillObjRef: IN");
system\runtime\remoting\realproxy.cs (20)
433if (reqMsg is Message) 457Message m = msg as Message; 525if ((callType & Message.CallMask ) != Message.BeginAsync) 573internal static IMessage EndInvokeHelper(Message reqMsg, bool bProxyCase) 702Message msg = new Message(); 711msgFlags = Message.Sync; 797&& ((msgFlags&Message.EndAsync)==Message.EndAsync)) 800Message msg = reqMsg as Message; 833&& ((msgFlags&Message.BeginAsync) == Message.BeginAsync)) 841Message msg = reqMsg as Message; 919Message msg = reqMsg as Message; 923case Message.Sync: 939if (msgFlags == Message.Sync)
system\runtime\remoting\remotingproxy.cs (41)
222int callType = Message.Sync; 223Message msg = reqMsg as Message; 241Message reqMsg = reqMcmMsg as Message; 242if ((reqMsg == null) && (callType != Message.Sync)) 311Message.DebugOut("Setting serveridentity on message \n"); 325Message.DebugOut("InternalInvoke. Dispatching based on class type\n"); 329case Message.Sync: 330Message.DebugOut("RemotingProxy.Invoke Call: SyncProcessMsg\n"); 360case Message.BeginAsync: 361case Message.BeginAsync | Message.OneWay: 371Message.DebugOut("Propagate out params for BeginAsync\n"); 375case Message.OneWay: 384case (Message.EndAsync | Message.OneWay): 388case Message.EndAsync: 401internal void InternalInvokeAsync(IMessageSink ar, Message reqMsg, 414Message.DebugOut("Setting SrvID on deser msg\n"); 420Message.DebugOut( 424BCLDebug.Assert( (callType & Message.BeginAsync) != 0, 427Message.DebugOut("Calling AsynDispatchMessage \n"); 430((callType & Message.OneWay) != 0) 435Message.DebugOut("RemotingProxy.Invoke: Calling AsyncProcessMsg on the envoy chain\n"); 439((callType & Message.OneWay) != 0) 453if ((callType & Message.BeginAsync) != 0) 456if ((callType & Message.OneWay) != 0) 488Message m = new Message(); 510case Message.BeginAsync: 511case Message.BeginAsync | Message.OneWay: 513m.Properties[Message.CallContextKey] = 519((callType & Message.OneWay) != 0) ? 527if ((callType & Message.OneWay) != 0) 533case (Message.EndAsync | Message.OneWay): 536case Message.EndAsync: 653Message.DebugOut("CheckCast for identity " + IdentityObject.GetType()); 672Message.DebugOut("Calling CanCastTo for type " + rtType); 704Message.DebugOut( "CheckCast for well known objects and type " + castType);
system\runtime\remoting\remotingservices.cs (41)
392Message.DebugOut("Entered SetObjectUriForMarshal \n"); 457Message.DebugOut("Created ServerIdentity \n"); 531Message.DebugOut("RemotingServices::Marshal: trying to create objref\n"); 540Message.DebugOut("RemotingServices::Marshal: really trying to create objref\n"); 554Message.DebugOut("RemotingServices::Marshal: created objref\n"); 685Message.DebugOut("Marshaling proxy \n"); 721Message.DebugOut("Marshal::Looking up server side identity \n"); 755Message.DebugOut("Marshal::Client side identity \n"); 779Message.DebugOut("Marshaling object \n"); 911Message.DebugOut("Disconnect:: returning " + fDisconnect + 1048Message.DebugOut("RemotingService::Unmarshal returning "); 1062Message.DebugOut("Entering Wrap for context " + Thread.CurrentContext + "\n"); 1067Message.DebugOut("Wrapping object \n"); 1123Message.DebugOut("Leaving Wrap with proxy \n"); 1128Message.DebugOut("Leaving Wrap with passed in object\n"); 1177Message.DebugOut("RemotingServices::InternalUnmarshal: <Begin> Current context id: " + (currContext.ContextID).ToString("x") + "\n"); 1213Message.DebugOut("RemotingService::InternalUnmarshal IN URI" + objectRef.URI); 1218Message.DebugOut("RemotingServices::Unmarshal: <after FindOrCreateIdentity> Current context id: " + 1226Message.DebugOut("RemotingService::InternalUnmarshal IN URI" + objectRef.URI); 1228Message.DebugOut("RemotingServices::InternalUnmarshal: <Begin> Current context id: " + 1236Message.DebugOut("RemotingServices::InternalUnmarshal: Unmarshalling ServerIdentity\n"); 1244Message.DebugOut("RemotingServices::InternalUnmarshal: Current context id: " + 1246Message.DebugOut("RemotingServices::InternalUnmarshal: ServerContext id: " + 1264Message.DebugOut("RemotingServices::InternalUnmarshal: Contexts don't match, returning proxy\n"); 1289Message.DebugOut("RemotingServices::InternalUnmarshal: Unmarshalling Client-side Identity\n"); 1316Message.DebugOut("RemotingService::InternalUnmarshl OUT \n"); 1327Message.DebugOut("Entering GetOrCreateProxy for given proxy\n"); 1395Message.DebugOut("Creating Proxy for type " + serverType.FullName + "\n"); 1417Message.DebugOut("Leaving GetOrCreateProxy for given proxy\n"); 1428Message.DebugOut("Entering GetOrCreateProxy for given class\n"); 1472Message.DebugOut("Leaving GetOrCreateProxy for given class\n"); 1482Message.DebugOut("Entering SetOrCreateProxy for type \n"); 1489Message.DebugOut("SetOrCreateProxy::Creating Proxy for " + 1519Message.DebugOut("SetOrCreateProxy::Proxy already created \n"); 1532Message.DebugOut("Leaving SetOrCreateProxy\n"); 1558Message.DebugOut("Creating envoy and channel sinks \n"); 1690Message.DebugOut("Setting up envoy and channel sinks \n"); 1730Message.DebugOut("Entered CheckCast for type " + castType); 1777Message.DebugOut("CheckCast returning " + fCastOK); 1859Message.DebugOut("Creating proxy for domain " + appDomainId + "\n"); 2765Message.OutToUnmanagedDebugger("CHNL:"+s+"\n");
system\runtime\remoting\remotingsurrogateselector.cs (4)
92Message.DebugOut("Entered GetSurrogate for " + type.FullName + "\n"); 96Message.DebugOut("Selected surrogate for " + type.FullName); 154Message.DebugOut("RemotingSurrogate::GetObjectData obj.Type: " + obj.GetType().FullName + " \n"); 509Message.DebugOut("MessageSurrogate::GetObjectData. Method not overloaded, so no MethodSignature \n");
system\runtime\remoting\stackbuildersink.cs (10)
117&& ((Message)mcMsg).Dispatch(server)) 121((StackBasedReturnMessage)retMessage).InitFields((Message)mcMsg); 140Message.DebugOut("StackBuilderSink::Calling PrivateProcessMessage\n"); 142Object[] args = Message.CoerceArgs(mcMsg, methodCache.Parameters); 178Message.DebugOut( 207mcMsg.Properties[Message.CallContextKey]; 238Object[] args = Message.CoerceArgs(mcMsg, methodCache.Parameters); 277mcMsg.Properties[Message.CallContextKey]); 318Message msg = mcMsg as Message;
system\runtime\remoting\synchronizeddispatch.cs (7)
119((LogicalCallContext)reqMsg.Properties[Message.CallContextKey]) 529(LogicalCallContext)reqMsg.Properties[Message.CallContextKey]; 544(LogicalCallContext)reqMsg.Properties[Message.CallContextKey]; 861(LogicalCallContext) reqMsg.Properties[Message.CallContextKey]; 909(LogicalCallContext) replyMsg.Properties[Message.CallContextKey]; 939(LogicalCallContext) reqMsg.Properties[Message.CallContextKey]; 1030((LogicalCallContext)reqMsg.Properties[Message.CallContextKey]).RemotingData.LogicalCallID);
system\runtime\remoting\terminatorsinks.cs (10)
102Message.DebugOut("GetServerIdentity.ServerIdentity from IInternalMessage\n"); 114Message.DebugOut("GetServerIdentity.ServerIdentity from IMethodCallMessage\n"); 193Message.DebugOut("---------------------------Envoy Chain Terminator: SyncProcessMessage"); 206Message.DebugOut("---------------------------Envoy Chain Terminator: AsyncProcessMessage"); 283Message.DebugOut("+++++++++++++++++++++++++ CliCtxTerminator: SyncProcessMsg"); 377Message.DebugOut("+++++++++++++++++++++++++ CliCtxTerminator: AsyncProcessMsg"); 581Message.DebugOut("+++++++++++++++++++++++++ SrvCtxTerminator: SyncProcessMsg"); 633Message.DebugOut("+++++++++++++++++++++++++ SrvCtxTerminator: SyncProcessMsg"); 748Message.DebugOut("+++++++++++++++++++++++++ SrvObjTerminator: SyncProcessMsg\n"); 769Message.DebugOut("ServerObjectTerminator.Invoking method on object\n");