Επεξεργασία

Κοινή χρήση μέσω


DataServiceContext.GetReadStreamUri(Object) Method

Definition

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

Uri

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.

Applies to