Share via


DataServiceStreamResponse.Stream Property

Definition

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

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

Returns the stream obtained from the data service. When reading from this stream the operations may throw if a network error occurs. This stream is read-only.

Caller must call Dispose/Close on either the returned stream or on the response object itself. Otherwise the network connection will be left open and the caller might run out of available connections.

Applies to