Export (0) Print
Expand All

SoapServerFormatterSink.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 ServerProcessing ProcessMessage(
	IServerChannelSinkStack sinkStack,
	IMessage requestMsg,
	ITransportHeaders requestHeaders,
	Stream requestStream,
	out IMessage responseMsg,
	out ITransportHeaders responseHeaders,
	out Stream responseStream


Type: System.Runtime.Remoting.Channels.IServerChannelSinkStack

The stack of sinks that transports the message.

Type: System.Runtime.Remoting.Messaging.IMessage

The message that contains the request.

Type: System.Runtime.Remoting.Channels.ITransportHeaders

Headers retrieved from the incoming message from the client.

Type: System.IO.Stream

The stream that needs to be processed and passed on to the deserialization sink.

Type: System.Runtime.Remoting.Messaging.IMessage

When this method returns, contains a IMessage that holds the response message. This parameter is passed uninitialized.

Type: System.Runtime.Remoting.Channels.ITransportHeaders

When this method returns, contains a ITransportHeaders that holds the headers to add to the return message heading to the client. This parameter is passed uninitialized.

Type: System.IO.Stream

When this method returns, contains a Stream that is heading back to the transport sink. This parameter is passed uninitialized.

Return Value

Type: System.Runtime.Remoting.Channels.ServerProcessing
A ServerProcessing status value that provides information about how the message was processed.


IServerChannelSink.ProcessMessage(IServerChannelSinkStack, IMessage, ITransportHeaders, Stream, IMessage, ITransportHeaders, Stream)

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, 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.

© 2014 Microsoft