共用方式為


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,所提供訊息將在其上序列化。

實作

適用於

另請參閱