Export (0) Print
Expand All

IDataServiceStreamProvider2 Methods

WCF Data Services 5.0

The IDataServiceStreamProvider2 type exposes the following members.

  Name Description
Public method DeleteStream Deletes the associated media resource when a media link entry is deleted. (Inherited from IDataServiceStreamProvider.)
Public method GetReadStream(Object, String, Nullable<Boolean>, DataServiceOperationContext) Returns a stream that contains the media resource data for the specified entity, which is a media link entry. (Inherited from IDataServiceStreamProvider.)
Public method GetReadStream(Object, ResourceProperty, String, Nullable<Boolean>, DataServiceOperationContext) Returns a stream that contains the binary data for the named stream.
Public method GetReadStreamUri(Object, DataServiceOperationContext) Returns the URI that is used to request the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.)
Public method GetReadStreamUri(Object, ResourceProperty, DataServiceOperationContext) Returns the URI that is used to request a specific named stream.
Public method GetStreamContentType(Object, DataServiceOperationContext) Returns the content-type of the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.)
Public method GetStreamContentType(Object, ResourceProperty, DataServiceOperationContext) Returns the content-type of the specified named stream.
Public method GetStreamETag(Object, DataServiceOperationContext) Returns the eTag of the media resource that belongs to the specified media link entry. (Inherited from IDataServiceStreamProvider.)
Public method GetStreamETag(Object, ResourceProperty, DataServiceOperationContext) Returns the eTag of the specified named stream.
Public method GetWriteStream(Object, String, Nullable<Boolean>, DataServiceOperationContext) 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. (Inherited from IDataServiceStreamProvider.)
Public method GetWriteStream(Object, ResourceProperty, String, Nullable<Boolean>, DataServiceOperationContext) Returns the stream that the data service uses to write the binary data received from the client as the specified named stream.
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. (Inherited from IDataServiceStreamProvider.)
Top
Show:
© 2014 Microsoft