IDataServiceStreamProvider Methods


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

System_CAPS_pubmethodDeleteStream(Object, DataServiceOperationContext)

Deletes the associated media resource when a media link entry is deleted.

System_CAPS_pubmethodGetReadStream(Object, String, Nullable<Boolean>, DataServiceOperationContext)

Returns a stream that contains the media resource data for the specified entity, which is a media link entry.

System_CAPS_pubmethodGetReadStreamUri(Object, DataServiceOperationContext)

Returns the URI that is used to request the media resource that belongs to the specified entity.

System_CAPS_pubmethodGetStreamContentType(Object, DataServiceOperationContext)

Returns the content type of the media resource that belongs to the specified entity.

System_CAPS_pubmethodGetStreamETag(Object, DataServiceOperationContext)

Returns the eTag of the media resource that belongs to the specified media link entry.

System_CAPS_pubmethodGetWriteStream(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.

System_CAPS_pubmethodResolveType(String, DataServiceOperationContext)

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.

Return to top