IDataServiceStreamProvider Methods

Include Protected Members
Include Inherited Members

The IDataServiceStreamProvider type exposes the following members.

Methods

  Name Description
Public method DeleteStream Deletes the associated media resource when a media link entry is deleted.
Public method GetReadStream Returns a stream that contains the media resource data for the specified entity, which is a media link entry.
Public method GetReadStreamUri Returns the URI that is used to request the media resource that belongs to the specified entity.
Public method GetStreamContentType Returns the content-type of the media resource that belongs to the specified entity.
Public method GetStreamETag Returns the eTag of the media resource that belongs to the specified media link entry.
Public method GetWriteStream Returns the stream that the data service uses to write the binary data for the media resource received from the client that belongs to the specified entity.
Public method ResolveType Returns a namespace-qualified type name that represents the type that the data service runtime must create for the media link entry that is associated with the data stream for the media resource that is being inserted.

Top

See Also

Reference

IDataServiceStreamProvider Interface

System.Data.Services.Providers Namespace