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)
The IDataServiceStreamProvider2 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | StreamBufferSize | Gets the size of the stream buffer. (Inherited from IDataServiceStreamProvider.) |
| Name | Description | |
|---|---|---|
![]() | DeleteStream | Deletes the associated media resource when a media link entry is deleted. (Inherited from IDataServiceStreamProvider.) |
![]() | 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.) |
![]() | GetReadStream(Object, ResourceProperty, String, Nullable<Boolean>, DataServiceOperationContext) | Returns a stream that contains the binary data for the named stream. |
![]() | GetReadStreamUri(Object, DataServiceOperationContext) | Returns the URI that is used to request the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.) |
![]() | GetReadStreamUri(Object, ResourceProperty, DataServiceOperationContext) | Returns the URI that is used to request a specific named stream. |
![]() | GetStreamContentType(Object, DataServiceOperationContext) | Returns the content-type of the media resource that belongs to the specified entity. (Inherited from IDataServiceStreamProvider.) |
![]() | GetStreamContentType(Object, ResourceProperty, DataServiceOperationContext) | Returns the content-type of the specified named stream. |
![]() | GetStreamETag(Object, DataServiceOperationContext) | Returns the eTag of the media resource that belongs to the specified media link entry. (Inherited from IDataServiceStreamProvider.) |
![]() | GetStreamETag(Object, ResourceProperty, DataServiceOperationContext) | Returns the eTag of the specified named stream. |
![]() | 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.) |
![]() | 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. |
![]() | 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.) |
