IDataServiceHost.ResponseStream Property

Gets the response stream to which the HTTP response body will be written.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Stream ResponseStream { get; }

Property Value

Type: System.IO.Stream
Stream object to which the response body will be written.

If a null stream is returned or an exception occurs when writing to the stream, WCF Data Services aborts the request.