语言

IDataServiceHost.ResponseStream 属性

定义

获取要向其写入 HTTP 响应正文的响应流。

public:
 property System::IO::Stream ^ ResponseStream { System::IO::Stream ^ get(); };
public System.IO.Stream ResponseStream { get; }
member this.ResponseStream : System.IO.Stream
Public ReadOnly Property ResponseStream As Stream

属性值

Stream 将向其写入响应正文的对象。

注解

如果返回 null 流或写入流时发生异常,WCF Data Services 会中止请求。

适用于