Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

DataServiceContext.GetReadStreamUri Method (Object)

Gets the URI that is used to return a binary data stream.

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

public Uri GetReadStreamUri(
	Object entity


Type: System.Object
The entity that has a related binary stream to retrieve.

Return Value

Type: System.Uri
The read URI of the binary data stream.


If the entity specified is null.


The entity is not tracked by this DataServiceContext.

When the specified entity is a Media Link Entry, the GetReadStreamUri method returns a URI that is used to access the content of the Media Resource.

This URI is only used to in a GET request to read the content of a Media Resource. It may not respond to POST, PUT, or DELETE requests.

© 2015 Microsoft