DataServiceStreamResponse Class
Represents a response from WCF Data Services that contains binary data as a stream.
Inheritance Hierarchy
System.Object
System.Data.Services.Client.DataServiceStreamResponse
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public NotInheritable Class DataServiceStreamResponse _
Implements IDisposable
'Usage
Dim instance As DataServiceStreamResponse
public sealed class DataServiceStreamResponse : IDisposable
public ref class DataServiceStreamResponse sealed : IDisposable
[<SealedAttribute>]
type DataServiceStreamResponse =
class
interface IDisposable
end
public final class DataServiceStreamResponse implements IDisposable
The DataServiceStreamResponse type exposes the following members.
Properties
Name | Description | |
---|---|---|
ContentDisposition | Gets the Content-Disposition header field for the response stream. | |
ContentType | Gets the content type of the response stream. | |
Headers | Gets the collection of headers from the response. | |
Stream | Gets the binary property data from the data service as a binary stream. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the current instance of the DataServiceStreamResponse class. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.