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