DataServiceContext.GetReadStream Method (Object)
Gets the binary data stream that belongs to the specified entity.
Not supported by the WCF Data Services 5.0 client for Silverlight.
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
- Type: System.Object
The entity that has the binary stream to retrieve.
Return ValueType: System.Data.Services.Client.DataServiceStreamResponse
An instance of DataServiceStreamResponse that represents the response.
The GetReadStream method synchronously requests the binary data stream that belongs to the requested entity.
In the AtomPub protocol, the entity is a Media Link Entry and the binary stream is the associated Media Resource.