SoapClientFormatterSink.GetRequestStream(IMessage, ITransportHeaders) 方法

定义

返回所提供的消息将要序列化到的 Stream

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

参数

msg
IMessage

IMethodCallMessage,包含有关方法调用的详细信息。

headers
ITransportHeaders

要添加到发往服务器的传出消息的标头。

返回

所提供的消息将要序列化到的 Stream

实现

适用于

另请参阅