Edit

Share via


DataServiceStreamResponse.Stream Property

Definition

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

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

Property Value

The stream that contains the binary property data.

Exceptions

When the DataServiceStreamResponse is already disposed.

Remarks

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.

Applies to