Share via


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
Public property ContentDisposition Gets the Content-Disposition header field for the response stream.
Public property ContentType Gets the content type of the response stream.
Public property Headers Gets the collection of headers from the response.
Public property Stream Gets the binary property data from the data service as a binary stream.

Top

Methods

  Name Description
Public method Dispose Releases all resources used by the current instance of the DataServiceStreamResponse class.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method 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.

See Also

Reference

System.Data.Services.Client Namespace