1 interface inheriting from IMessage
mscorlib (1)
system\runtime\remoting\imethodmessage.cs (1)
22
public interface IMethodMessage :
IMessage
1 implementation of IMessage
mscorlib (1)
system\runtime\remoting\message.cs (1)
4940
:
IMessage
, IInternalMessage, IMessageSink, ISerializable
333 references to IMessage
mscorlib (210)
system\runtime\remoting\activationservices.cs (1)
809
Type serverType,
IMessage
msg, ServerIdentity srvIdToBind,
system\runtime\remoting\asyncresult.cs (5)
108
public virtual
IMessage
SyncProcessMessage(
IMessage
msg)
137
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
152
public virtual
IMessage
GetReplyMessage() {return _replyMsg;}
156
private
IMessage
_replyMsg;
system\runtime\remoting\callcontext.cs (2)
643
internal void PropagateOutgoingHeadersToMessage(
IMessage
msg)
683
internal void PropagateIncomingHeadersToCallContext(
IMessage
msg)
system\runtime\remoting\channelservices.cs (14)
647
IMessage
msg,
648
out
IMessage
replyMsg)
767
replyMsg = (
IMessage
) CrossContextChannel.SyncProcessMessageCallback(args);
782
replyMsg = (
IMessage
)new ReturnMessage(e, mcm);
805
public static
IMessage
SyncDispatchMessage(
IMessage
msg)
807
IMessage
msgRet = null;
862
msgRet = (
IMessage
)new ReturnMessage(e, mcm);
884
public static IMessageCtrl AsyncDispatchMessage(
IMessage
msg, IMessageSink replySink)
965
internal static ServerIdentity CheckDisconnectedOrCreateWellKnownObject(
IMessage
msg)
1038
internal static void NotifyProfiler(
IMessage
msg, RemotingProfilerEvent profilerEvent)
1317
public virtual
IMessage
SyncProcessMessage(
IMessage
replyMsg)
1339
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
replyMsg, IMessageSink replySink)
system\runtime\remoting\channelsinkstacks.cs (8)
56
void DispatchReplyMessage(
IMessage
msg);
164
public void DispatchReplyMessage(
IMessage
msg)
229
void AsyncProcessResponse(
IMessage
msg, ITransportHeaders headers, Stream stream);
233
Stream GetResponseStream(
IMessage
msg, ITransportHeaders headers);
253
private
IMessage
_asyncMsg = null;
365
public void AsyncProcessResponse(
IMessage
msg, ITransportHeaders headers, Stream stream)
383
public Stream GetResponseStream(
IMessage
msg, ITransportHeaders headers)
447
IMessage
retMessage = new ReturnMessage(
system\runtime\remoting\context.cs (6)
523
internal
IMessage
NotifyActivatorProperties(
524
IMessage
msg, bool bServerSide)
539
IMessage
errMsg = null;
693
IMessage
retMsg = Thread.CurrentContext.GetClientContextChain().SyncProcessMessage(msgCall);
714
IMessage
retMsg = this.GetClientContextChain().SyncProcessMessage(msgCall);
1056
IMessage
msg,
system\runtime\remoting\crossappdomainchannel.cs (15)
364
IMessage
desReqMsg = null;
381
IMessage
retMsg = ChannelServices.SyncDispatchMessage(desReqMsg);
438
IMessage
retMsg =
477
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
480
IMessage
errMsg = InternalSink.ValidateMessage(reqMsg);
492
IMessage
desRetMsg = null;
597
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
638
private
IMessage
_reqMsg;
641
internal ADAsyncWorkItem(
IMessage
reqMsg, IMessageSink nextSink, IMessageSink replySink)
657
IMessage
retMsg = _nextSink.SyncProcessMessage(_reqMsg);
673
internal static MemoryStream SerializeMessage(
IMessage
msg)
746
internal static
IMessage
DeserializeMessage(MemoryStream stm)
752
internal static
IMessage
DeserializeMessage(
763
return (
IMessage
) fmt.Deserialize(stm, null, false /* No Security check */, true/*isCrossAppDomain*/, reqMsg);
system\runtime\remoting\crosscontextchannel.cs (24)
66
IMessage
reqMsg = args[0] as
IMessage
;
68
IMessage
replyMsg = null;
129
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
132
IMessage
replyMsg = null;
137
IMessage
errMsg = ValidateMessage(reqMsg);
152
replyMsg = (
IMessage
) Thread.CurrentThread.InternalCrossContextCallback(srvID.ServerContext, s_xctxDel, args);
175
IMessage
reqMsg = (
IMessage
) args[0];
212
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
216
IMessage
errMsg = ValidateMessage(reqMsg);
305
IMessage
reqMsg = (
IMessage
) args[0];
328
internal static IMessageCtrl DoAsyncDispatch(
IMessage
reqMsg, IMessageSink replySink)
411
private
IMessage
_reqMsg;
420
internal AsyncWorkItem(
IMessage
reqMsg, IMessageSink replySink, Context oldCtx, ServerIdentity srvID)
433
IMessage
msg = (
IMessage
) args[1];
439
public virtual
IMessage
SyncProcessMessage(
IMessage
msg)
451
IMessage
retMsg = null;
476
retMsg = (
IMessage
) Thread.CurrentThread.InternalCrossContextCallback(_oldCtx, xctxDel, args);
482
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
system\runtime\remoting\dispatchchannelsink.cs (4)
55
IMessage
requestMsg,
57
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
83
IMessage
msg, ITransportHeaders headers, Stream stream)
92
IMessage
msg, ITransportHeaders headers)
system\runtime\remoting\dynamicpropertyholder.cs (1)
163
internal static void NotifyDynamicSinks(
IMessage
msg,
system\runtime\remoting\ichannel.cs (7)
156
void ProcessMessage(
IMessage
msg,
169
void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
180
Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers);
220
IMessage
requestMsg,
222
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
231
IMessage
msg, ITransportHeaders headers, Stream stream);
240
IMessage
msg, ITransportHeaders headers);
system\runtime\remoting\idynamicmessagesink.cs (2)
40
void ProcessMessageStart(
IMessage
reqMsg, bool bCliSide, bool bAsync);
46
void ProcessMessageFinish(
IMessage
replyMsg, bool bCliSide, bool bAsync);
system\runtime\remoting\imessagesink.cs (3)
23
IMessage
SyncProcessMessage(
IMessage
msg);
26
IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink);
system\runtime\remoting\lease.cs (3)
603
public
IMessage
SyncProcessMessage(
IMessage
msg)
611
public IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
system\runtime\remoting\message.cs (11)
868
internal static LogicalCallContext PropagateCallContextFromMessageToThread(
IMessage
msg)
875
internal static void PropagateCallContextFromThreadToMessage(
IMessage
msg)
883
internal static void PropagateCallContextFromThreadToMessage(
IMessage
msg, LogicalCallContext oldcctx)
2866
public MethodCall(
IMessage
msg)
3941
public ConstructionCall(
IMessage
m) : base(m) {}
5151
public
IMessage
SyncProcessMessage(
IMessage
msg)
5191
public IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
5193
IMessage
retMsg = SyncProcessMessage(msg);
5635
protected
IMessage
WrappedMessage;
5638
public InternalMessageWrapper(
IMessage
msg)
system\runtime\remoting\messagesmuggler.cs (2)
283
internal static SmuggledMethodCallMessage SmuggleIfPossible(
IMessage
msg)
466
internal static SmuggledMethodReturnMessage SmuggleIfPossible(
IMessage
msg)
system\runtime\remoting\realproxy.cs (11)
392
public abstract
IMessage
Invoke(
IMessage
msg);
414
private static void HandleReturnMessage(
IMessage
reqMsg,
IMessage
retMsg)
452
internal static void PropagateOutParameters(
IMessage
msg,
573
internal static
IMessage
EndInvokeHelper(Message reqMsg, bool bProxyCase)
576
IMessage
retMsg = null; // used for proxy case only!
691
IMessage
reqMsg = null;
693
IMessage
retMsg = null;
916
IMessage
reqMsg, int msgFlags, LogicalCallContext cctx)
937
void ReturnCallContextToThread(Thread currentThread,
IMessage
retMsg, int msgFlags, LogicalCallContext currCtx)
system\runtime\remoting\redirectionproxy.cs (9)
41
public virtual
IMessage
SyncProcessMessage(
IMessage
msg)
43
IMessage
replyMsg = null;
74
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
80
IMessage
replyMsg = null;
116
public virtual
IMessage
SyncProcessMessage(
IMessage
msg)
145
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
151
IMessage
replyMsg = null;
system\runtime\remoting\remotingproxy.cs (7)
77
internal static
IMessage
CallProcessMessage(IMessageSink ms,
78
IMessage
reqMsg,
116
IMessage
retMsg = ms.SyncProcessMessage(reqMsg);
158
public override
IMessage
Invoke(
IMessage
reqMsg)
238
internal virtual
IMessage
InternalInvoke(
250
IMessage
retMsg = null;
system\runtime\remoting\stackbuildersink.cs (6)
56
public virtual
IMessage
SyncProcessMessage(
IMessage
msg)
59
IMessage
errMsg = InternalSink.ValidateMessage(msg);
67
IMessage
retMessage;
195
IMessage
msg, IMessageSink replySink)
200
IMessage
retMessage = null;
system\runtime\remoting\synchronizeddispatch.cs (16)
116
internal bool IsKnownLCID(
IMessage
reqMsg)
512
internal bool IsNestedCall(
IMessage
reqMsg)
623
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
643
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
682
internal
IMessage
_reqMsg;
687
internal
IMessage
_replyMsg;
705
internal WorkItem(
IMessage
reqMsg, IMessageSink nextSink, IMessageSink replySink)
799
internal virtual
IMessage
ReplyMessage { get {return _replyMsg;}}
834
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
837
IMessage
replyMsg;
926
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
1012
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
1038
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
system\runtime\remoting\terminatorsinks.cs (53)
32
internal static
IMessage
ValidateMessage(
IMessage
reqMsg)
34
IMessage
retMsg = null;
48
internal static
IMessage
DisallowAsyncActivation(
IMessage
reqMsg)
62
internal static Identity GetIdentity(
IMessage
reqMsg)
93
internal static ServerIdentity GetServerIdentity(
IMessage
reqMsg)
136
internal static String GetURI(
IMessage
msg)
191
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
194
IMessage
errMsg = ValidateMessage(reqMsg);
204
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
208
IMessage
errMsg = ValidateMessage(reqMsg);
274
IMessage
reqMsg = (
IMessage
) args[0];
281
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
284
IMessage
errMsg = ValidateMessage(reqMsg);
300
IMessage
replyMsg;
341
replyMsg = (
IMessage
) Thread.CurrentThread.InternalCrossContextCallback(Context.DefaultContext, xctxDel, args);
345
replyMsg = (
IMessage
) xctxDel(args);
367
IMessage
reqMsg = (
IMessage
) args[0];
375
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
378
IMessage
errMsg = ValidateMessage(reqMsg);
471
private IMessageSink GetChannelSink(
IMessage
reqMsg)
493
IMessage
reqMsg = (
IMessage
) args[0];
511
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
515
IMessage
retMsg = null;
521
retMsg = (
IMessage
) Thread.CurrentThread.InternalCrossContextCallback(_cliCtx, xctxDel, args);
528
IMessage
reqMsg, IMessageSink replySink)
579
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
582
IMessage
errMsg = ValidateMessage(reqMsg);
590
IMessage
replyMsg;
631
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
635
IMessage
errMsg = ValidateMessage(reqMsg);
679
internal virtual IMessageSink GetObjectChain(
IMessage
reqMsg,out MarshalByRefObject obj)
697
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
699
IMessage
replyMsg = null;
714
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
746
public virtual
IMessage
SyncProcessMessage(
IMessage
reqMsg)
749
IMessage
errMsg = ValidateMessage(reqMsg);
774
IMessage
replyMsg;
795
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
reqMsg, IMessageSink replySink)
798
IMessage
errMsg = ValidateMessage(reqMsg);
851
public virtual
IMessage
SyncProcessMessage(
IMessage
replyMsg)
880
public virtual IMessageCtrl AsyncProcessMessage(
IMessage
replyMsg, IMessageSink replySink)
System.AddIn (10)
System\Addin\Hosting\AddInIpcChannel.cs (10)
93
public void AsyncProcessResponse(IServerResponseChannelSinkStack sinkStack, object state,
IMessage
msg, ITransportHeaders headers, System.IO.Stream stream)
102
public System.IO.Stream GetResponseStream(IServerResponseChannelSinkStack sinkStack, object state,
IMessage
msg, ITransportHeaders headers)
121
public ServerProcessing ProcessMessage(IServerChannelSinkStack sinkStack,
IMessage
requestMsg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, out
IMessage
responseMsg, out ITransportHeaders responseHeaders, out System.IO.Stream responseStream)
205
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg, ITransportHeaders headers, System.IO.Stream stream)
223
public System.IO.Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
241
public void ProcessMessage(
IMessage
msg, ITransportHeaders requestHeaders, System.IO.Stream requestStream, out ITransportHeaders responseHeaders, out System.IO.Stream responseStream)
267
public IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
286
public
IMessage
SyncProcessMessage(
IMessage
msg)
System.Runtime.Remoting (104)
channels\core\corechannel.cs (28)
298
internal static Header[] GetMessagePropertiesAsSoapHeader(
IMessage
reqMsg)
396
internal static Header[] GetSoapHeaders(
IMessage
reqMsg)
458
internal static void SerializeSoapMessage(
IMessage
msg, Stream outputStream, bool includeVersions)
489
internal static Stream SerializeSoapMessage(
IMessage
msg, bool includeVersions)
499
internal static void SerializeBinaryMessage(
IMessage
msg, Stream outputStream, bool includeVersions)
510
internal static Stream SerializeBinaryMessage(
IMessage
msg, bool includeVersions)
539
internal static
IMessage
DeserializeSoapRequestMessage(
548
IMessage
resMessage = (
IMessage
)mc;
554
internal static
IMessage
DeserializeSoapResponseMessage(
555
Stream inputStream,
IMessage
requestMsg, Header[] h, bool bStrictBinding)
563
IMessage
resMessage = (
IMessage
)mr;
569
internal static
IMessage
DeserializeBinaryRequestMessage(
580
IMessage
reqMsg =
581
(
IMessage
)fmt.UnsafeDeserialize(inputStream, new HeaderHandler(uriHH.HeaderHandler));
587
internal static
IMessage
DeserializeBinaryResponseMessage(
594
IMessage
replyMsg = (
IMessage
)fmt.UnsafeDeserializeMethodResponse(inputStream, null, reqMsg);
598
internal static Stream SerializeMessage(String mimeType,
IMessage
msg, bool includeVersions)
607
internal static void SerializeMessage(String mimeType,
IMessage
msg, Stream outputStream,
630
internal static
IMessage
DeserializeMessage(String mimeType, Stream xstm, bool methodRequest,
IMessage
msg)
635
internal static
IMessage
DeserializeMessage(String mimeType, Stream xstm, bool methodRequest,
IMessage
msg, Header[] h)
716
IMessage
resMessage = (
IMessage
) ret;
1020
internal static void DebugMessage(
IMessage
msg)
channels\http\httpclientchannel.cs (7)
474
public void ProcessMessage(
IMessage
msg,
497
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
541
public Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
556
private HttpWebRequest SetupWebRequest(
IMessage
msg, ITransportHeaders headers)
688
private HttpWebRequest ProcessAndSend(
IMessage
msg, ITransportHeaders headers,
933
private
IMessage
_msg;
939
IMessage
msg,
channels\http\httpremotinghandler.cs (5)
576
IMessage
responseMessage;
682
IMessage
requestMsg,
684
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
692
IMessage
msg, ITransportHeaders headers, Stream stream)
702
IMessage
msg, ITransportHeaders headers)
channels\http\httpserverchannel.cs (5)
562
IMessage
responseMessage;
618
IMessage
requestMsg,
620
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
630
IMessage
msg, ITransportHeaders headers, Stream stream)
647
IMessage
msg, ITransportHeaders headers)
channels\ipc\ipcclientchannel.cs (5)
29
internal delegate IClientChannelSinkStack AsyncMessageDelegate(
IMessage
msg,
275
public void ProcessMessage(
IMessage
msg,
307
private IClientChannelSinkStack AsyncProcessMessage(
IMessage
msg,
316
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
366
public Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
channels\ipc\ipcclientmanager.cs (1)
91
internal void SendRequest(
IMessage
msg, ITransportHeaders headers, Stream contentStream)
channels\ipc\ipcserverchannel.cs (5)
392
IMessage
responseMessage = null;
497
IMessage
requestMsg,
499
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
509
IMessage
msg, ITransportHeaders headers, Stream stream)
526
IMessage
msg, ITransportHeaders headers)
channels\sinks\binaryformattersinks.cs (17)
144
public
IMessage
SyncProcessMessage(
IMessage
msg)
147
IMessage
retMsg;
177
public IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
180
IMessage
retMsg;
206
private void SerializeMessage(
IMessage
msg,
231
private
IMessage
DeserializeMessage(IMethodCallMessage mcm,
235
IMessage
retMsg = CoreChannel.DeserializeBinaryResponseMessage(stream, mcm, _strictBinding);
247
public void ProcessMessage(
IMessage
msg,
257
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
271
IMessage
retMsg = DeserializeMessage(mcm, headers, stream);
277
public Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
460
IMessage
requestMsg,
462
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
673
IMessage
msg, ITransportHeaders headers, Stream stream)
682
IMessage
msg, ref ITransportHeaders headers,
728
IMessage
msg, ITransportHeaders headers)
channels\sinks\soapformattersinks.cs (16)
150
public
IMessage
SyncProcessMessage(
IMessage
msg)
153
IMessage
retMsg;
183
public IMessageCtrl AsyncProcessMessage(
IMessage
msg, IMessageSink replySink)
186
IMessage
retMsg;
250
private
IMessage
DeserializeMessage(IMethodCallMessage mcm,
253
IMessage
retMsg;
300
public void ProcessMessage(
IMessage
msg,
310
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
324
IMessage
retMsg = DeserializeMessage(mcm, headers, stream);
330
public Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
512
IMessage
requestMsg,
514
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
745
IMessage
msg, ITransportHeaders headers, Stream stream)
756
IMessage
msg, bool bClientIsClr, ref ITransportHeaders headers,
810
IMessage
msg, ITransportHeaders headers)
channels\tcp\tcpclientchannel.cs (4)
384
public void ProcessMessage(
IMessage
msg,
407
public void AsyncProcessRequest(IClientChannelSinkStack sinkStack,
IMessage
msg,
438
public Stream GetRequestStream(
IMessage
msg, ITransportHeaders headers)
452
private TcpClientSocketHandler SendRequestWithRetry(
IMessage
msg,
channels\tcp\tcpclientsocketmanager.cs (2)
105
public Stream GetRequestStream(
IMessage
msg, int contentLength,
141
public void SendRequest(
IMessage
msg, ITransportHeaders headers, Stream contentStream)
channels\tcp\tcpserverchannel.cs (5)
554
IMessage
responseMessage;
653
IMessage
requestMsg,
655
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
665
IMessage
msg, ITransportHeaders headers, Stream stream)
682
IMessage
msg, ITransportHeaders headers)
metadata\sdlchannelsink.cs (4)
119
IMessage
requestMsg,
121
out
IMessage
responseMsg, out ITransportHeaders responseHeaders,
149
IMessage
msg, ITransportHeaders headers, Stream stream)
158
IMessage
msg, ITransportHeaders headers)
System.ServiceModel (6)
System\ServiceModel\Channels\ServiceChannelProxy.cs (3)
164
public override
IMessage
Invoke(
IMessage
message)
292
IMessage
InvokeTaskService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
System\ServiceModel\ComIntegration\TearOffProxy.cs (3)
31
public override
IMessage
Invoke(
IMessage
message)
56
IMessage
msgReturned = delegatingProxy.Invoke(message);
System.Workflow.Activities (3)
LocalService\MethodMessage.cs (3)
219
IDictionary System.Runtime.Remoting.Messaging.
IMessage
.Properties
334
public override System.Runtime.Remoting.Messaging.
IMessage
Invoke(System.Runtime.Remoting.Messaging.
IMessage
msg)