Export (0) Print
Expand All

WebResponse Members

Provides a response from a Uniform Resource Identifier (URI). This is an abstract class.

The following tables list the members exposed by the WebResponse type.

  Name Description
Protected method Supported by the .NET Compact Framework WebResponse Overloaded. Initializes a new instance of the WebResponse class.
Top

  Name Description
Public property Supported by the .NET Compact Framework ContentLength When overridden in a descendant class, gets or sets the content length of data being received.
Public property Supported by the .NET Compact Framework ContentType When overridden in a derived class, gets or sets the content type of the data being received.
Public property Supported by the .NET Compact Framework Headers When overridden in a derived class, gets a collection of header name-value pairs associated with this request.
Public property IsFromCache Gets a Boolean value that indicates whether this response was obtained from the cache.
Public property IsMutuallyAuthenticated Gets a Boolean value that indicates whether mutual authentication occurred.
Public property Supported by the .NET Compact Framework ResponseUri When overridden in a derived class, gets the URI of the Internet resource that actually responded to the request.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Close When overridden by a descendant class, closes the response stream.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetResponseStream When overridden in a descendant class, returns the data stream from the Internet resource.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetObjectData Populates a SerializationInfo with the data that is needed to serialize the target object.
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

  Name Description
Explicit interface implementation Method Supported by the .NET Compact Framework System.IDisposable.Dispose When overridden in a derived class, releases all resources used by the WebResponse.
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData Populates a SerializationInfo instance with the data that is needed to serialize WebResponse.
Top

Community Additions

ADD
Show:
© 2014 Microsoft