DataServiceContext.GetReadStreamUri(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the URI that is used to return binary property data as a data stream.
public:
Uri ^ GetReadStreamUri(System::Object ^ entity);
public Uri GetReadStreamUri (object entity);
member this.GetReadStreamUri : obj -> Uri
Public Function GetReadStreamUri (entity As Object) As Uri
Parameters
- entity
- Object
The entity that has the binary property to retrieve.
Returns
The read URI of the binary data stream.
Exceptions
If the entity specified is null
.
The entity
is not tracked by this DataServiceContext.
Remarks
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.