Redigera

Dela via


SoapClientFormatterSink.GetRequestStream(IMessage, ITransportHeaders) Method

Definition

Returns the Stream onto which the provided message is to be serialized.

public:
 virtual System::IO::Stream ^ GetRequestStream(System::Runtime::Remoting::Messaging::IMessage ^ msg, System::Runtime::Remoting::Channels::ITransportHeaders ^ headers);
public System.IO.Stream GetRequestStream (System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Channels.ITransportHeaders headers);
abstract member GetRequestStream : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders -> System.IO.Stream
override this.GetRequestStream : System.Runtime.Remoting.Messaging.IMessage * System.Runtime.Remoting.Channels.ITransportHeaders -> System.IO.Stream
Public Function GetRequestStream (msg As IMessage, headers As ITransportHeaders) As Stream

Parameters

msg
IMessage

The IMethodCallMessage containing details about the method call.

headers
ITransportHeaders

The headers to add to the outgoing message heading to the server.

Returns

The Stream onto which the provided message is to be serialized.

Implements

Applies to

See also