Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FileWebResponse Members

Provides a file system implementation of the WebResponse class.

The FileWebResponse type exposes the following members.

  NameDescription
Protected method FileWebResponse Obsolete. Initializes a new instance of the FileWebResponse class from the specified instances of the SerializationInfo and StreamingContext classes.
Top

  NameDescription
Public method Close Closes the response stream. (Overrides WebResponse.Close().)
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.)
Protected method Dispose Releases the unmanaged resources used by the FileWebResponse and optionally releases the managed resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetObjectData Populates a SerializationInfo with the data needed to serialize the target object. (Overrides WebResponse.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetResponseStream Returns the data stream from the file system resource. (Overrides WebResponse.GetResponseStream().)
Public method 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.)
Protected method MemberwiseClone Overloaded.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property ContentLength Gets the length of the content in the file system resource. (Overrides WebResponse.ContentLength.)
Public property ContentType Gets the content type of the file system resource. (Overrides WebResponse.ContentType.)
Public property Headers Gets a collection of header name/value pairs associated with the response. (Overrides WebResponse.Headers.)
Public property IsFromCache Gets a Boolean value that indicates whether this response was obtained from the cache. (Inherited from WebResponse.)
Public property IsMutuallyAuthenticated Gets a Boolean value that indicates whether mutual authentication occurred. (Inherited from WebResponse.)
Public property ResponseUri Gets the URI of the file system resource that provided the response. (Overrides WebResponse.ResponseUri.)
Top

  NameDescription
Public method Dispose Infrastructure. Overloaded.
Explicit interface implemetation Private method ISerializable.GetObjectData Infrastructure. Populates a SerializationInfo instance with the data needed to serialize the FileWebResponse.
Top

Community Additions

ADD
Show:
© 2015 Microsoft