BinaryClientFormatterSink.ProcessMessage Method
Requests message processing from the current sink.
Namespace: System.Runtime.Remoting.Channels
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure, Infrastructure = true)] public void ProcessMessage( IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, out ITransportHeaders responseHeaders, out Stream responseStream )
Parameters
- msg
- Type: System.Runtime.Remoting.Messaging.IMessage
The message to process.
- requestHeaders
- Type: System.Runtime.Remoting.Channels.ITransportHeaders
The headers to add to the outgoing message that is heading to the server.
- requestStream
- Type: System.IO.Stream
The stream that is headed toward the transport sink.
- responseHeaders
- Type: System.Runtime.Remoting.Channels.ITransportHeaders
When this method returns, contains a ITransportHeaders interface that holds the headers that the server returned. This parameter is passed uninitialized.
- responseStream
- Type: System.IO.Stream
When this method returns, contains a Stream that is coming back from the transport sink. This parameter is passed uninitialized.
Implements
IClientChannelSink.ProcessMessage(IMessage, ITransportHeaders, Stream, ITransportHeaders, Stream)- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.