Returns the URI that is used to request the media resource that belongs to the specified entity.
Assembly: System.Data.Services (in System.Data.Services.dll)
'Declaration Function GetReadStreamUri ( _ entity As Object, _ operationContext As DataServiceOperationContext _ ) As Uri
- Type: System.Object
The entity that is a media link entry with a related media resource.
The method is called by the data service runtime to obtain the URI that clients should use when they make retrieve (i.e., GET) requests for the media resource.
The Uri value returned by the method implementation is used as the edit-media link in the media link entry to references the location of the media resource.
When the method implementation returns null, the data service will construct a default Uri, which is usually the URI of the entity appended with /$value.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.