Export (0) Print
Expand All

IDataServiceStreamProvider2 Interface

WCF Data Services 5.0

Enables binary data to be accessed and changed as a named stream that belongs to an entity type.

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

public interface IDataServiceStreamProvider2 : IDataServiceStreamProvider

The IDataServiceStreamProvider2 type exposes the following members.

  NameDescription
Public propertyStreamBufferSizeGets the size of the stream buffer. (Inherited from IDataServiceStreamProvider.)
Top

  NameDescription
Public methodDeleteStreamDeletes the associated media resource when a media link entry is deleted. (Inherited from IDataServiceStreamProvider.)
Public methodGetReadStream(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 methodGetReadStream(Object, ResourceProperty, String, Nullable<Boolean>, DataServiceOperationContext)Returns a stream that contains the binary data for the named stream.
Public methodGetReadStreamUri(Object, DataServiceOperationContext)Returns the URI that is used to request the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.)
Public methodGetReadStreamUri(Object, ResourceProperty, DataServiceOperationContext)Returns the URI that is used to request a specific named stream.
Public methodGetStreamContentType(Object, DataServiceOperationContext)Returns the content-type of the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.)
Public methodGetStreamContentType(Object, ResourceProperty, DataServiceOperationContext)Returns the content-type of the specified named stream.
Public methodGetStreamETag(Object, DataServiceOperationContext)Returns the eTag of the media resource that belongs to the specified media link entry. (Inherited from IDataServiceStreamProvider.)
Public methodGetStreamETag(Object, ResourceProperty, DataServiceOperationContext)Returns the eTag of the specified named stream.
Public methodGetWriteStream(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 methodGetWriteStream(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 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. (Inherited from IDataServiceStreamProvider.)
Top
Show:
© 2014 Microsoft