HttpWebResponseMessage Class

IODataResponseMessage interface implementation

Inheritance Hierarchy

System.Object
  System.Data.Services.Client.HttpWebResponseMessage

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

Syntax

'Declaration
Public Class HttpWebResponseMessage _
    Implements IODataResponseMessage, IDisposable
'Usage
Dim instance As HttpWebResponseMessage
public class HttpWebResponseMessage : IODataResponseMessage, 
    IDisposable
public ref class HttpWebResponseMessage : IODataResponseMessage, 
    IDisposable
type HttpWebResponseMessage =  
    class 
        interface IODataResponseMessage 
        interface IDisposable 
    end
public class HttpWebResponseMessage implements IODataResponseMessage, IDisposable

The HttpWebResponseMessage type exposes the following members.

Constructors

  Name Description
Public method HttpWebResponseMessage(HttpWebResponse) Constructor.
Public method HttpWebResponseMessage(IDictionary<String, String>, Int32, Func<Stream>) Constructor.

Top

Properties

  Name Description
Public property Headers Returns the collection of response headers.
Public property Response Gets the underlying HttpWebResponse.
Public property StatusCode The response status code.

Top

Methods

  Name Description
Public method Dispose() Close the underlying HttpWebResponse.
Protected method Dispose(Boolean) Perform the actual cleanup work.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetHeader Returns the value of the header with the given name.
Public method GetStream Gets the stream to be used to read the response payload.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetHeader Sets the value of the header with the given name.
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