Export (0) Print
Expand All

IDataServiceStreamProvider Interface

The IDataServiceStreamProvider interface defines the contract between the data services framework server component and a data source's stream implementation (ie. a stream provider).

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

public interface class IDataServiceStreamProvider

The IDataServiceStreamProvider type exposes the following members.

  NameDescription
Public propertyStreamBufferSizeGets the size of the stream buffer.
Top

  NameDescription
Public methodDeleteStreamDeletes the associated media resource when a media link entry is deleted.
Public methodGetReadStreamReturns a stream that contains the media resource data for the specified entity, which is a media link entry.
Public methodGetReadStreamUriReturns the URI that is used to request the media resource that belongs to the specified entity.
Public methodGetStreamContentTypeReturns the content-type of the media resource that belongs to the specified entity.
Public methodGetStreamETagReturns the eTag of the media resource that belongs to the specified media link entry.
Public methodGetWriteStreamReturns 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 methodResolveTypeReturns 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
Show:
© 2014 Microsoft