Share via


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)

Syntax

'Declaration
ReadOnly Property ResponseStream As Stream 
    Get
'Usage
Dim instance As IDataServiceHost 
Dim value As Stream 

value = instance.ResponseStream
Stream ResponseStream { get; }
property Stream^ ResponseStream {
    Stream^ get ();
}
abstract ResponseStream : Stream
function get ResponseStream () : Stream

Property Value

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

Remarks

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

See Also

Reference

IDataServiceHost Interface

System.Data.Services Namespace