DataServiceStreamResponse.Stream Property

Gets the binary property data from the data service as a binary stream.

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

public Stream Stream { get; }

Property Value

Type: System.IO.Stream
The stream that contains the binary property data.


When the DataServiceStreamResponse is already disposed.

When a network errors occurs while reading from this stream, an error is raised.

The returned Stream is read-only.

You must call either the Dispose method on the DataServiceStreamResponse or the Close method on the Stream. Otherwise, the network connection remains open and unavailable to other applications.

The GetResponseStream method is used to access the stream.


Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions