IDataServiceHost.ResponseStream 属性

定义

获取将向其中写入 HTTP 响应正文的响应流。Gets the response stream to which the HTTP response body will be written.

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

将向其中写入响应正文的 Stream 对象。Stream object to which the response body will be written.

注解

如果返回了 null 流或写入流时出现异常,WCF Data Services 中止请求。If a null stream is returned or an exception occurs when writing to the stream, WCF Data Services aborts the request.

适用于