HttpResponseMessage Methods

The HttpResponseMessage type exposes the following members.

  Name Description
Public method Dispose() Releases the unmanaged resources and disposes of unmanaged resources used by the HttpResponseMessage.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the HttpResponseMessage and optionally disposes of the managed resources.
Public method EnsureSuccessStatusCode Throws an exception if the IsSuccessStatusCode property for the HTTP response is false.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Overrides Object.ToString().)