Represents a HTTP response message including the status code and data.
Assembly: System.Net.Http (in System.Net.Http.dll)
Gets or sets the content of a HTTP response message.
Gets the collection of HTTP response headers.
Gets a value that indicates if the HTTP response was successful.
Gets or sets the reason phrase which typically is sent by servers together with the status code.
Gets or sets the request message which led to this response message.
Gets or sets the status code of the HTTP response.
Gets or sets the HTTP message version.
Releases the unmanaged resources and disposes of unmanaged resources used by the.
Releases the unmanaged resources used by theand optionally disposes of the managed resources.
Throws an exception if the IsSuccessStatusCode property for the HTTP response is false.
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Overrides Object.ToString().)
Available since 8
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Available since 8.1
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.