[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides a response from a Uniform Resource Identifier (URI). This is an abstract class.
Assembly: System.Net (in System.Net.dll)
Thetype exposes the following members.
|ContentLength||When overridden in a descendant class, gets or sets the content length of data being received.|
|ContentType||When overridden in a derived class, gets or sets the content type of the data being received.|
|Headers||When overridden in a derived class, gets a collection of header name-value pairs associated with this request.|
|ResponseUri||When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request.|
|SupportsHeaders||Gets a value that indicates whether the Headers property is supported by the descendant class for the instance.|
|Close||When overridden by a descendant class, closes the response stream.|
|Dispose()||Releases the resources used by the current instance of the class.|
|Dispose(Boolean)||Releases the resources used by the object, and optionally disposes of the managed resources.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetResponseStream||When overridden in a descendant class, returns the data stream from the Internet resource.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class is the abstract base class from which protocol-specific response classes are derived. Applications can participate in request and response transactions in a protocol-agnostic manner using instances of the class while protocol-specific classes derived from carry out the details of the request.
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
Windows Phone 8, Windows Phone OS 7.1
For more info, see App capabilities and hardware requirements for Windows Phone 8.