This topic has not yet been rated - Rate this topic

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)

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.